User forums > Help
WxWindows, makefile... help a newbie! :)
MortenMacFly:
--- Quote from: barabba on July 02, 2006, 03:35:25 pm ---The problem is that the wx-config [...]
any idea?
--- End quote ---
...sure! ;-)
wx-config expects some command line params (was it --compile for compilation an --libs for linking - I don't remember!?). Provided with this it simply returns the command line that has to be provided to the compiler / linker. Thus the oputput of a call to the script will return e.g. "-DwxUSE_NICODE -dwxMyDef -DwxMyOtherDef", or "-lwxmsw26 -lmylib1 -lmyotherlib2" etc. You don't need to call this script at all from with your C::B project. What you have to do is to have a look, what the call to this script actually creates for a command line "AddOn". This you can analyse and add the options to your wxWidgets project accordingly. For example: if "wx-config --libs" shows a "-lwxmsw26" this in fact means, link the library "wxmsw26" to your project. Try calling wx-config from a cygwin shell and you'll see all other options.
With regards, Morten.
barabba:
Got it working! I feel a bit silly because I should have understood that by myself :?
Thank you for your aid :)
Navigation
[0] Message Index
[*] Previous page
Go to full version