Problems Compiling Using Vis Studio 2008


stubear666

Still Fresh
Joined
Oct 28, 2008
Messages
1
Hi everyone

Ive just started developing for the gp2x and im having some problems compling under vis studio 2008, i followed the guide for setting it up with 2005 because i couldnt find one for doing it in 2008.
Everytime i try to build my project i get this error


CODE

1>------ Build started: Project: GP2X_SDL, Configuration: Debug Win32 ------
1>HelperFunctions.cpp
1>Project : error PRJ0002 : Error result 255 returned from 'C:\WINDOWS\system32\cmd.exe'.
1>Build log was saved at "file://c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BuildLog.htm"
1>GP2X_SDL - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



The build log is as follows

CODE


Build Log


Build started: Project: GP2X_SDL, Configuration: Debug|Win32

Command Lines


Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00001F31403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\HelperFunctions.o "..\Source\HelperFunctions.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 "HelperFunctions.cpp"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00001F31403160.bat"""
Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002031403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\Engine.o "..\Source\Engine.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 "Engine.cpp"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002031403160.bat"""
Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002131403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\GpxInput.o "..\Source\GpxInput.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 "GpxInput.cpp"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002131403160.bat"""
Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002231403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\main.o "..\Source\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:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002231403160.bat"""
Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002331403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\GraphicsTesting.o "..\Source\GraphicsTesting.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 "GraphicsTesting.cpp"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002331403160.bat"""
Creating temporary file "c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002431403160.bat" with contents
[
@echo off

arm-linux-gcc.exe -c -I"C:\devkitpro\devkitGP2X\include\SDL" -D_DEBUG -D_GPX -o Debug\Graphics.o "..\Source\Graphics.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 "Graphics.cpp"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BAT00002431403160.bat"""

Output Window


HelperFunctions.cpp
Project : error PRJ0002 : Error result 255 returned from 'C:\WINDOWS\system32\cmd.exe'.

Results


Build log was saved at "file://c:\Documents and Settings\stuart\My Documents\Visual Studio 2008\Projects\all gp2x stuff\Game\GP2X_SDL\Debug\BuildLog.htm"
GP2X_SDL - 1 error(s), 0 warning(s)




I have tried using the cmd line to do the same thing and it all seems to work....well i get all the seperate .o files, but then im not sure how to link them all together.

Any help would be appreciated
 
Last edited by a moderator:
Top