You are not logged in.
I don't know if this a bug on cmake or wxwidgets, maybe I'm using the wrong commands, this is the packages I have of wx:
extra/wxgtk 3.0.2-4 [installed]
extra/wxgtk2.8 2.8.12.1-3 [installed]
I want to link against gtk 3.0.2, so, this is my cmake code snippet:
set (TOOLKIT_VERSION_NEED "3.0")
set (wxWidgets_CONFIG_OPTIONS --version=${TOOLKIT_VERSION_NEED})
find_package (wxWidgets COMPONENTS core base REQUIRED)
if (wxWidgets_FOUND)
include (${wxWidgets_USE_FILE})
set (LINKER_LIBS ${LINKER_LIBS} ${wxWidgets_LIBRARIES})
else ()
message (FATAL_ERROR "wxWidgets not found")
endif ()
Everything is detected as expected, but when I run my program I get the following warning
11:26:18: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8).
any ideas?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.
Offline
Hi Joel,
I have no answer, but this seems to be releated https://bbs.archlinux.org/viewtopic.php?id=196715
Offline
oh, thanks mauritiusdadd, seems a bug/problem with wx package in Archlinux?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.
Offline
oh, thanks mauritiusdadd, seems a bug/problem with wx package in Archlinux?
Not quite. See my answer on the other thread:
Offline