Make sure wx-config is working
Purpose
wx-config is a tool that helps the build process of wxFormBuilder determine which build of wxWidgets you are using. wx-config should come with any wxWidgets package from a package manager, probably in the -dev variety of the package. It will also be included if you build wxWidgets from source.
Steps
- To check that things are working, type:
wx-config --libs --unicode=yes --debug=no
which should have at least the directory where the wxWidgets libraries are and what libraries to link to, but can contain other flags as well. - Example:
-L/opt/wx/2.8/lib -lwx_gtk2u-2.8
- If the
--libsswitch works, the rest of the switches that wxFormBuilder needs should work as well. - If it says " Warning: No config found..." you'll need to install the unicode release build.
- If you are going to want to build the debug target, try the same command with
--debug=yes. - If wx-config does not work as it should, wxFormBuilder will not build.