Hi,
I have downloaded and intalled devkitpro. I´m using visual studio 8 as my ide. I have followed the doc at wiki to use vc8 with devkitpro, but I ran into a dumb problme I don´t know how to fix:
I get an Error 255 from command line when I compile. I have checked the log file and this is what I found:
Creating temporary file "c:\Projects\game\GP2X\Debug\BAT00000D33843520.bat" with contents
[
@echo off
arm-linux-gcc.exe -c -o Debug\main.o .\main.cpp 2>&1 | sed -e s/(.[a-zA-Z]\+)[0-9]\+):/\1(\2):/
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "main.cpp"
exit 1
:VCEnd
]
Creating command line "c:\Projects\Game\GP2X\Debug\BAT00000D33843520.bat"
The weird thing you may notice is that it creates the bat to compile in "c:\Projects\game\GP2X\Debug\BAT00000D33843520.bat", instead of "c:\Projects\game\GP2X\BAT00000D33843520.bat", because it compiles the file into Debug\main.o and uses .\main.o to create the object file.
I have copied the bat file into "c:\Projects\game\GP2X" and ran it and everything worked ok.
Is there anyone that could tell me why vc 8 is creating the bat file in the wrong place? :/.
Thanks in advance,
Heump.
I have downloaded and intalled devkitpro. I´m using visual studio 8 as my ide. I have followed the doc at wiki to use vc8 with devkitpro, but I ran into a dumb problme I don´t know how to fix:
I get an Error 255 from command line when I compile. I have checked the log file and this is what I found:
Creating temporary file "c:\Projects\game\GP2X\Debug\BAT00000D33843520.bat" with contents
[
@echo off
arm-linux-gcc.exe -c -o Debug\main.o .\main.cpp 2>&1 | sed -e s/(.[a-zA-Z]\+)[0-9]\+):/\1(\2):/
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "main.cpp"
exit 1
:VCEnd
]
Creating command line "c:\Projects\Game\GP2X\Debug\BAT00000D33843520.bat"
The weird thing you may notice is that it creates the bat to compile in "c:\Projects\game\GP2X\Debug\BAT00000D33843520.bat", instead of "c:\Projects\game\GP2X\BAT00000D33843520.bat", because it compiles the file into Debug\main.o and uses .\main.o to create the object file.
I have copied the bat file into "c:\Projects\game\GP2X" and ran it and everything worked ok.
Is there anyone that could tell me why vc 8 is creating the bat file in the wrong place? :/.
Thanks in advance,
Heump.
Last edited by a moderator: