[CMake] Can't find wxWidgets

Bob Bachman bob_bachman at intercept.com
Thu Jul 9 15:10:07 EDT 2015


Richard Shaw <hobbes1069 at ...> writes:

> 
> On Thu, Jul 9, 2015 at 1:19 PM, Bob Bachman <bob_bachman-
JXEU3b3ms+Tby3iVrkZq2A at public.gmane.org> wrote:We've upgraded from wxWidgets 
2.8.10 to 3.0.2 and our CMake scripts can no
> longer find the required wxWidgets libs. The wxWidgets shared object files
> have been built and exist in the same directory structure as the 2.8.10
> version. Any help would be greatly appreciated. Thank you
> 
> Double check that the wx-config script has not changed names... On Fedora we 
allow both to be installed so on 3.X the wx-config script is renamed to wx-
config-3.0 so I have to do something like:
> 
> $ cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config.3.0
> 
> and everything works as usual.
> 
> Thanks,
> Richard
> 
> 


Okay, thanks. That doesn't seem to be the problem. The wx-config script 
located in the buildgtk directory is a soft link.

wx-config -> lib/wx/config/inplace-gtk2-unicode-3.0



More information about the CMake mailing list