wx-config --list
/opt/lib/wx/config/gtk2-unicode-release-2.9
/usr/bin/wx-config
wx-config --prefix=/opt --list
I had the same problem. When I put 'wx-config --cxxflags' in compiler other options, I got an invalid command line option error. What I did was copied the output of it from the terminal to compiler other options. This got my project to compile farther.
For a c++ project using wx-widgets, it seems that the `wx-config --cflags` should be `wx-config --cxxflags` instead.That worked for me too. Thanks :)
I had the same problem, and making that change in the compiler options helped it compile further.
JP