Search found 6 matches

by lastyle
Sat Feb 04, 2006 8:43 pm
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

Hi Pete,
i posted my makefile above, is there any real difference to yours ?

Mario
by lastyle
Sat Feb 04, 2006 7:36 pm
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

If You had a look at the JGEDemo (main.cpp) ______ #include <pspkernel.h> #include <pspdisplay.h> #include <pspdebug.h> #include "Demo.h" _______________ i also set the includes. And James himself told me that there is a prob mixing c and c++. Thats why i was asking for somebody with an ol...
by lastyle
Sat Feb 04, 2006 9:22 am
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

Maybe its a bug in the latest SDK then ? i updated mine with the latest toolchain.

Probably i need to mention that i am using cygwin, if that may help finding the problem.

But could anybody please verify using the elf_sample and JGE kit, to make me 101% sure its not my setup please.

Thanks,Mario
by lastyle
Sat Feb 04, 2006 1:47 am
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

Yes, your are right with your suggestion. Path iss ../JGE/JGE.o, and the makefile looks like this: TARGET = alsample OBJS = main.o texture.o Demo.o ../JGE/JGE.o INCDIR = CFLAGS = -O2 -G0 -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS) LIBDIR = LDFLAGS = LIBS = -lpng -lz -lm ...
by lastyle
Fri Feb 03, 2006 4:20 pm
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

here we go

Here we go lA-sTYLe@l3000-894757b92 ~/test $ make psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local /pspdev/psp/sdk/lib main.o Demo.o -lpng -lz -lm -lmikmod -lmmio -lpspaudiolib -lpspaudio -lpspgu -lstdc++ -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -...
by lastyle
Fri Feb 03, 2006 7:30 am
Forum: PSP Development
Topic: using c and c++ code in one project = compile error ???
Replies: 13
Views: 3674

using c and c++ code in one project = compile error ???

Hi Boys, i am trying to use JGE`s libs that were included within the StarBugz release. First of all, i have no problems compiling any SDK sample nor the c++ StarBugz or Demo sourcecodes included. As SDK sample i used the elf_template for testing purposes which also compiled fine, but as soon as i in...