First of all: Hello there. in the las days ive been trying out codeblocks and im loving it! you guys are doing a great job!
Ive created a Codeblocks template and it has the follwing files
(http://img255.imageshack.us/img255/8382/templateei6.png)
The bat files have the following code:
build.bat
make clean
make
clean.bat
make clean
added a user defined tool
(http://img337.imageshack.us/img337/5639/toolnr7.png)
when i doubleclick the bat files it compiles like a charm, but when i use the user defined tools from codeblocks i get the following:
Launching tool 'Build': d:\Projects\Example\build.bat (in d:\Projects\Example)
stdout>
stdout> d:\Projects\Example>make clean
stderr> makefile:22: /c/devkitPro/devkitARM/ds_rules: No such file or directory
stderr> make: *** No rule to make target `/c/devkitPro/devkitARM/ds_rules'. Stop.
stdout>
stderr> makefile:22: /c/devkitPro/devkitARM/ds_rules: No such file or directory
stdout> d:\Projects\Example>make
stderr> make: *** No rule to make target `/c/devkitPro/devkitARM/ds_rules'. Stop.
Tool execution terminated with status 2
The files exists, what i notice here is that the paths are in unix format. so i humbly request help to get arround this.
Edit: i create an exaple project "d:\Project\example"
Edit2: ive read "The read before posting" number 2, i posted because i think it is related to the way the codeblocks tool calls the user defined tools
thanks. :?
Hi,
perhaps you could add the command
cmd /c ${PROJECT_DIR}build.bat
to execute the command in the windows cmd.exe. Does it fix the problem?
Bye,
Mario
Quote from: mariocup on September 05, 2008, 01:00:10 PM
Hi,
perhaps you could add the command
cmd /c ${PROJECT_DIR}build.bat
to execute the command in the windows cmd.exe. Does it fix the problem?
Bye,
Mario
im afraid it didnt work, im still triying to figure out what the source of the problem is.
Thanks.
Quote from: GymDude on September 05, 2008, 01:13:06 PM
im afraid it didnt work, im still triying to figure out what the source of the problem is.
Mind attaching a simple example to the post, including sources and the project file (if any)?
Keep in mind that
$PROJECT_DIR is *only* set if you are working with projects. I don't see a project file in your screenshot.
Sure here it is the full template im working with
[attachment deleted by admin]
Ive just tried the extension handler and it works the same, it gives me the same error