 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Ryu
Joined: 17 Oct 2005 Posts: 19
|
Posted: Tue Oct 18, 2005 7:23 pm Post subject: psp-fixup-imports error |
|
|
I already made some apps in .c and it works fine, but when i want to compile .cpp files, well everything compiles but after I get this error, and of course the resulting epb file doesn't work.
Help would be greatly appreciated as I would really be happy to be able to use classes and stuff.
Here's the Makefile:
TARGET = c++
OBJS = main.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS = -lpspaudiolib -lpspaudio -lstdc++
EXTRA_TARGETS = EBOOT.PBP kxploit
PSP_EBOOT_TITLE = C++
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
------------------------
and here's what I get when compiling:
psp-g++ ... compiling
psp-gcc ... linking
psp-fixup-imports c++.elf
Error, no sceModuleInfo section found
mksfo 'C++' PARAM.SFO etc |
|
| Back to top |
|
 |
Ryu
Joined: 17 Oct 2005 Posts: 19
|
Posted: Tue Oct 18, 2005 8:03 pm Post subject: |
|
|
ok sorry forget it, i forgot to use the module info macro in the cpp file
PSP_MODULE_INFO(...)
lol |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|