First of all hello to everybody. This is my first post in this forum. I'm trying to develop using VC++ 2005, following the instructions at http://forums.ps2dev.org/viewtopic.php?t=2493 (actually, I've installed the MSVC_PSP_Wizard), but I'm unable to compile anything. I get some errors, like if the VS were trying to compile with its own compiler instead of with g++. This should be something simply to solve, but I'm lost. Please dont kill me if this is too obvious :)
Code: Select all
Errors:
Performing Makefile project actions
Converting test1.vcproj...
g++ -G0 -Wall -fno-exceptions -fno-rtti -c ./main.cpp -o ./main.o
g++: unrecognized option `-G0'
In file included from ./main.cpp:5:
./main.h:5:23: pspkernel.h: No such file or directory
./main.h:6:24: pspdisplay.h: No such file or directory
./main.h:7:22: pspdebug.h: No such file or directory
./main.cpp:7: error: expected constructor, destructor, or type conversion before '(' token
./main.cpp:7: error: expected `,' or `;' before '(' token
./main.cpp:8: error: expected constructor, destructor, or type conversion before '(' token
./main.cpp:8: error: expected `,' or `;' before '(' token
make: *** [main.o] Error 1
Build log was saved at "file://g:\pspdev\test1\test1\Debug\BuildLog.htm"
test1 - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
PROGRAM:
//**************************************************************************
// PSP Project: 'test1' - main.cpp
//**************************************************************************
#include "main.h"
PSP_MODULE_INFO("test1", 0, 1, 1);
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER);
int main(int argc, char **argv)
{
//START HERE:
return 0;
}