Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
backticks `wx-config --cflags`
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: backticks `wx-config --cflags` (Read 6304 times)
grv575
Guest
backticks `wx-config --cflags`
«
on:
September 02, 2005, 08:04:45 pm »
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
Logged
guru
Guest
Re: backticks `wx-config --cflags`
«
Reply #1 on:
September 13, 2005, 12:22:54 am »
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!
Logged
rickg22
Lives here!
Posts: 2283
Re: backticks `wx-config --cflags`
«
Reply #2 on:
September 13, 2005, 01:13:09 am »
You can as well compile using makefiles. There's an option in the compiler settings.
Logged
mandrav
Project Leader
Administrator
Lives here!
Posts: 4315
Re: backticks `wx-config --cflags`
«
Reply #3 on:
September 13, 2005, 08:16:43 am »
Go to Settings->Compiler->Other and set the build mode to "GNU make". Backticks work with it.
Logged
Be patient!
This bug will be fixed soon...
guru
Guest
Re: backticks `wx-config --cflags`
«
Reply #4 on:
September 13, 2005, 02:15:08 pm »
thanks a buch for the quick and helpfull replies! it works like a charm now, both using a custom makefile and adding library scripts.
Logged
rickg22
Lives here!
Posts: 2283
Re: backticks `wx-config --cflags`
«
Reply #5 on:
September 13, 2005, 04:37:26 pm »
I suppose you're working on your
Indiana Jones game
, tell us when it's playable! ;-)
«
Last Edit: September 13, 2005, 04:40:35 pm by rickg22
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
backticks `wx-config --cflags`