You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is with openSUSE Leap 15.6, cmake version 3.31.3, and wxWidgets-3_2-devel-3.2.6
When running cmake I get the error
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:32 (MESSAGE):
wxWidgets not found!
I was perplexed because I have the package wxWidgets-3_2-devel installed and there were no obvious other wxWidgets devel packages for other optional features available to be installed.
After numerous web searches I came across the patch on the page of the openSUSE build service for guayadeque
This must be because the wxWidgets v3.2.6 package on openSUSE is built without gtk3 support
wx-config --toolkit-gtk3
*** Error: Unrecognised option: '--toolkit-gtk3'
Use wx-config --help for information on command line options.
So commenting out this line resulted in a successful build.
Also if I may comment on the lines about this one
SET( SEARCH_LIBS
/usr/lib
/usr/local/lib )
The full openSUSE patch comments this out as well (I did not so and the build was successfull so it is not currently an actual problem) but some distributions put some package libraries in /usr/lib64 (in the case of openSUSE and I think Fedora) and others (eg Debian and derivatives) put some package libraries in /usr/lib/ , so in general,restricting search to just lib and not lib64 and not lib/ as well appears to be too limiting.
The text was updated successfully, but these errors were encountered:
I think there's a problem for pkg-config to find wxGTK3-3_2-devel since there's no
/usr/lib64/pkgconfig/wxgtk.pc nor /usr/lib64/pkgconfig/wxwidgets.pc file inside the rpm of wxGTK3-3_2-devel ...
This is with openSUSE Leap 15.6, cmake version 3.31.3, and wxWidgets-3_2-devel-3.2.6
When running cmake I get the error
I was perplexed because I have the package wxWidgets-3_2-devel installed and there were no obvious other wxWidgets devel packages for other optional features available to be installed.
After numerous web searches I came across the patch on the page of the openSUSE build service for guayadeque
which comments out the CMakeLists.rxt line
This must be because the wxWidgets v3.2.6 package on openSUSE is built without gtk3 support
So commenting out this line resulted in a successful build.
Also if I may comment on the lines about this one
The full openSUSE patch comments this out as well (I did not so and the build was successfull so it is not currently an actual problem) but some distributions put some package libraries in /usr/lib64 (in the case of openSUSE and I think Fedora) and others (eg Debian and derivatives) put some package libraries in /usr/lib/ , so in general,restricting search to just lib and not lib64 and not lib/ as well appears to be too limiting.
The text was updated successfully, but these errors were encountered: