User forums > Help
"custom commands" bug?
sés:
Hi, I just downloaded beta5 and it seems awesome! Unfortunately I have a little problem :(
I'm trying to use "custom commands" and I can't make it work.
My project compile, but if I add the following line:
--- Code: ---copy bgl.h ..\include
--- End code ---
I get this:
--- Code: ---Running post-build step: default
Command execution failed...
--- End code ---
What am I doing wrong?
Thanks.
mandrav:
Go to global compiler options and change the logging level for the compiler you 're using to "Full". Rebuild your project and post here the full build log.
Also, when you get the "Command execution failed" message, the exact command that failed should be printed in the debug log. Check it there... (to enable the debug log, go to environment options, enable it and then restart CB).
Yiannis.
sés:
I tried it:
--- Quote ---Project : Console application
Compiler : GNU GCC Compiler (called directly)
Directory : D:\moises\mre\
--------------------------------------------------------------------------------
Switching to target: default
mingw32-g++.exe -I"C:\\MinGW\\include" -c "mre.cpp" -o ".objs\\mre.o"
mingw32-g++.exe -L"C:\\MinGW\\lib" -o "mre.exe" -L"C:\\MinGW\\lib" ".objs\\mre.o"
copy mre.cpp ..
Command execution failed...
--- End quote ---
It just doesn't work :(
It compiles fine, but fails when try to execute a single "copy".
mike:
Paths? Try to execute this command manually from the project directory.
sés:
All files are in the same directory.
You can see the compiler commands:
--- Quote ---mingw32-g++.exe -I"C:\\MinGW\\include" -c "mre.cpp" -o ".objs\\mre.o"
mingw32-g++.exe -L"C:\\MinGW\\lib" -o "mre.exe" -L"C:\\MinGW\\lib" ".objs\\mre.o"
--- End quote ---
mre.cpp is there and the comands work. Only the "copy" fails.
Navigation
[0] Message Index
[#] Next page
Go to full version