User forums > General (but related to Code::Blocks)

backtick execution broken

<< < (2/2)

Jenna:
Is wx-config in the systems search path, and can it be called from pre- or post-build step ?

oBFusCATed:

--- Quote from: BlueHazzard on November 08, 2012, 11:23:28 pm ---OT: is this caching a good idea? what if the program i'm calling in backticks changes its output?

--- End quote ---
Yes, but the cache should be cleared at the start of the build. I'll try to fix this in the future, but this is how it is for now.

BlueHazzard:

--- Quote ---Think of a large wxWidgets project like C::B.
Without caching we would need to call wx-config for (nearly) each compiled filed and that would surely slow down compiling a lot.

--- End quote ---

i didn't thought about that...

I put the comand line in  pre-build  and it fails also....

--- Code: ---Execution of 'wx-config.exe --cflags --unicode=yes --wxcfg=gcc_dll/mswud' in 'E:\XXXX' failed.

--- End code ---

my wx-config is in the c:/windows/system32 folder, and this folder is in the path ;)

I copied wx-config to the root directory of c::b and now it is working...
there seems something wrong with the search path of executables.

anyway, thank you all
for the awesome IDE and fast support!

BlueHazzard:
Hello,
for everybody who has the same problem like me. DON'T PUT YOUR PROGRAMS IN system32 FOLDER OF WINDOWS. in Win7 the user management redirect all calls to system32 to somewhere else if you are not the administrator. So your prog won't be found....

greetings

Navigation

[0] Message Index

[*] Previous page

Go to full version