News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

backticks `wx-config --cflags`

Started by grv575, September 02, 2005, 08:04:45 PM

Previous topic - Next topic

grv575

http://sourceforge.net/tracker/?func=add&group_id=126998&atid=707416

`wx-config --cflags` doesn't work when compiler is invoked directly.  this has something to do with how the compiler is executed.

system("command");

would solve this.  calling the compiler using system() correctly passes the command to the underlying OS shell which handles "" in pathnames, spaces, eval() type stuff (like `s).

Not sure if all environments/OSes support this properly.
Should be looked into

guru

I was wondering if this is likely to be fixed soon as I have some serious problems getting my projects to link without using library scripts. or is there a workaround?

thanks for any suggestions/info and keep up the good work!

rickg22

You can as well compile using makefiles. There's an option in the compiler settings.

mandrav

Go to Settings->Compiler->Other and set the build mode to "GNU make". Backticks work with it.
Be patient!
This bug will be fixed soon...

guru

thanks a buch for the quick and helpfull replies! it works like a charm now, both using a custom makefile and adding library scripts.

rickg22

#5
I suppose you're working on your Indiana Jones game, tell us when it's playable! ;-)