User forums > Using Code::Blocks
How to run shell script
binnyshah:
Thank you all guys....finally I have been able to run both the shell scripts...
Also in Project properties I have set path for customized makefile..
I get build message as build complete...but while trying to run...I get the message:
This project has not been built yet...do you want to build it...
Why so?
reckless:
mainly because shellscripts are not an integral part of the ide :) its more like a preprocessining stage
where you use an external tool to handle some stuff the ide cant handle itself.
see it a bit like the gas2masm conversion in quake. quakes assembler code is gnu style (first version was built with djgpp another posix based compiler) gas2masm converts gnu style assembly code to something microsofts masm compiler understands. gas2masm in it self is not part of any specific toolchain, but only used for this specific task.
binnyshah:
after running the shell script I have given the make command...which gets executed as well...
In build messages tab,i get the last message as
Build Successful
0 Errors 18 warnings
But in build log i get
Using makefile: Makefile
mingw32-make.exe: *** No rule to make target `Debug'. Stop.
Process terminated with status 2 (12 minutes, 42 seconds)
0 errors, 18 warnings
Please guide
binnyshah:
Hey...got this resolved...
I had to include mingw\bin in additional paths....
build is still in progress , but I can see the .exe file has been created....
Wish me luck :)
binnyshah:
Exe has been created...
But while trying to run I get the below error:
Checking for existence: C:\msys\1.0\home\admin\vlc\vlc.exe
Executing: "C:\Program Files\CodeBlocks/cb_console_runner.exe" "C:\msys\1.0\home\admin\vlc\vlc.exe" (in C:\Documents and Settings\admin\Desktop\Binny Work\CodeBlocks PRj\Sample\.)
Process terminated with status -1073741510 (0 minutes, 11 seconds)
I shall post this in a seperate thread as well to keep track
Navigation
[0] Message Index
[*] Previous page
Go to full version