Package Details: mingw-w64-wxmsw 3.2.4-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-wxmsw.git (read-only, click to copy)
Package Base: mingw-w64-wxmsw
Description: Win32 implementation of wxWidgets API for GUI (mingw-w64)
Upstream URL: https://wxwidgets.org
Licenses: custom:wxWindows
Conflicts: mingw-w64-wxmsw-static, mingw-w64-wxmsw2.9
Provides: mingw-w64-wxmsw-static, mingw-w64-wxmsw2.9
Submitter: Schala
Maintainer: pingplug
Last Packager: pingplug
Votes: 7
Popularity: 0.000000
First Submitted: 2013-10-21 08:14 (UTC)
Last Updated: 2023-11-27 04:29 (UTC)

Latest Comments

1 2 3 Next › Last »

ivan_p commented on 2023-11-06 14:43 (UTC)

Disowned - see aur-general for details.

Martchus commented on 2022-07-11 13:49 (UTC)

Thanks for updating to 3.2.0. Maybe I can give my FileZilla builds another try then. Also good that now building the shared libs works again.

patlefort commented on 2021-11-22 12:41 (UTC)

I retraced my problem to using a combination of -Wa,-mbig-obj and -flto. lto is simply failing with big-obj on mingw. (https://bugs.archlinux.org/task/53859)

Martchus commented on 2021-11-22 11:37 (UTC)

I haven't used static linking against wxWidgets yet (only Qt). Usually it is a good idea to look at the compiler/linker invocations. Maybe some flags are wrong or missing. Maybe you need -municode. Note that the order in which object and static libs are specified matters.

patlefort commented on 2021-11-22 11:27 (UTC) (edited on 2021-11-22 11:28 (UTC) by patlefort)

I get this error when trying to link against the static version:

/build/mingw-w64-crt/src/mingw-w64-v9.0.0/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'

I get the same problem on the 3.1.5 version. Even if I define WinMain I still get the error.

My cmake file contain:

find_package(wxWidgets 3.0.0 REQUIRED COMPONENTS core base std gl)
include(${wxWidgets_USE_FILE})

target_compile_definitions(${PROJECT_NAME} PRIVATE ${wxWidgets_DEFINITIONS})
target_include_directories(${PROJECT_NAME} PRIVATE ${wxWidgets_INCLUDE_DIRS})
target_compile_options(${PROJECT_NAME} PRIVATE ${wxWidgets_CXX_FLAGS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${wxWidgets_LIBRARIES})

Anything I'm missing here? I'm not sure if it's a wxWidgets or mingw problem.

ivan_p commented on 2021-08-13 07:18 (UTC)

Thanks for the comments, I'll investigate the issue further.

Kostin_Pavel commented on 2021-08-10 09:51 (UTC) (edited on 2021-08-10 09:52 (UTC) by Kostin_Pavel)

mingw gcc has been updated to 11.2.0-1. The build problem continues to be present. The error "relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'" was present. I uncommented line 28 in PKGBUILD and try again. The build error has disappeared. An error has been detected in creating shared libraries! How to fix it?

Martchus commented on 2021-07-04 19:10 (UTC)

Interesting. I've recently tried to build the 3.1 version and the build failed due to the same linker error (see https://martchus.no-ip.biz/build-data/misc/mingw-w64-wxmsw3.1/pkg/build.log). So this is very unlikely a problem of your environment. (I'm conducting my builds within a clean chroot so my env shouldn't be screwed up either.)

Maybe it helps to add -Wl,--disable-dynamicbase,--default-image-base-low to LDFLAGS (see https://github.com/msys2/MINGW-packages/issues/7023).

ivan_p commented on 2021-07-04 18:53 (UTC) (edited on 2021-07-04 18:54 (UTC) by ivan_p)

1) I've fixed the compilation error with GCC11

2) I've encountered linking error, but was not sure if it's caused by newer compiler version or my environment. If you see this error during building the package:

relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'

please uncomment line 28 in PKGBUILD and try again -- it'll skip building 64-bit shared libraries.

ivan_p commented on 2021-06-28 19:25 (UTC)

@Kostin_Pavel, thanks, will look into this.