Search found 11 matches

by Rav
Fri Jul 06, 2007 5:31 am
Forum: PSP Development
Topic: Usual makefile
Replies: 5
Views: 2704

Here is my usual makefile

I've modified the makefile in a way I better understand, here it comes : TARGET = Sprite2D OBJS = Functions/framebuffer.o Functions/graphics.o ISprite.o Sprite2D.o TestSprite2D.o CFLAGS = -O2 -G0 -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS)...
by Rav
Thu Jul 05, 2007 6:48 am
Forum: PSP Development
Topic: [Solved]Hum... expected unqualified-id before ‘asm’ ?
Replies: 5
Views: 2522

Roh

Hum, I found the problem(s). The first one is that the makefile doesn't rebuild the .o associated with the .c I changed. The second one is that, in the Sprite.h I should have included the graphics.h this way : extern "C" { #include "Fonctions/graphics.h" } That'...
by Rav
Thu Jul 05, 2007 6:05 am
Forum: PSP Development
Topic: Usual makefile
Replies: 5
Views: 2704

Hum...

I think that I should play with this : all: $(EXTRA_TARGETS) $(FINAL_TARGET) kxploit: $(TARGET).elf $(PSP_EBOOT_SFO) mkdir -p "$(TARGET)" $(STRIP) $(TARGET).elf -...
by Rav
Thu Jul 05, 2007 5:12 am
Forum: PSP Development
Topic: Usual makefile
Replies: 5
Views: 2704

Usual makefile

I wonder if it's possible to use a standard makefile : I mean something with all: main.o gcc main.o main.o: a.c gcc -c a.c -o a.o Because it's hard for me to understand this one : TARGET = Sprite OBJS = Fonctions/framebuffer.o Fonctions/graphics.o Sprite.o CFLAGS = -O2 -G0 -Wall CXXF...
by Rav
Thu Jul 05, 2007 2:09 am
Forum: PSP Development
Topic: [Solved]Hum... expected unqualified-id before ‘asm’ ?
Replies: 5
Views: 2522

Hum..

These functions are defined in the directory "Fonctions", headers and source code. I added them in the makefile: OBJS = Fonctions/framebuffer.o Fonctions/graphics.o Sprite.o But the error is the same. If my memory is good, adding include "X" in a header file will add X to the sou...
by Rav
Wed Jul 04, 2007 8:00 am
Forum: PSP Development
Topic: [Solved]Hum... expected unqualified-id before ‘asm’ ?
Replies: 5
Views: 2522

Wow

Wow, thanks, I didn't notice that I had to put a semicolon. I guess it's because I usually use Java. Thanks. Now I have an other error: Sprite.o: dans la fonction « main »: Sprite.cpp:(.text+0x80): référence indéfinie vers « initGraphics(&#...
by Rav
Wed Jul 04, 2007 7:07 am
Forum: PSP Development
Topic: [Solved]Hum... expected unqualified-id before ‘asm’ ?
Replies: 5
Views: 2522

[Solved]Hum... expected unqualified-id before ‘asm’ ?

Hi ! I'm a noob with C++ but I think I have a pretty good understandind of C, Java, C# and overs. When I try to compile this : Sprite.h #include <pspdisplay.h> #include <pspctrl.h> #include <pspkernel.h> #include <pspdebug.h> #include <pspgu.h> #include <png.h> #include <stdio.h> #include "Fonc...
by Rav
Fri Jun 01, 2007 7:34 am
Forum: PSP Development
Topic: Problem with the installation of toochain on Ubuntu FF
Replies: 5
Views: 2587

Thanks

Thank you very much !
by Rav
Fri Jun 01, 2007 6:53 am
Forum: PSP Development
Topic: Problem with the installation of toochain on Ubuntu FF
Replies: 5
Views: 2587

Err..

Just one last question before programming. Is there anything like a javadoc related to specific thing about the PSP ? Like graphical libraries and other ? Where can I find this ?

Thanks.
by Rav
Fri Jun 01, 2007 5:28 am
Forum: PSP Development
Topic: Problem with the installation of toochain on Ubuntu FF
Replies: 5
Views: 2587

Thanks

Thanks, now, this problem is solved. Now it's compiling.
by Rav
Fri Jun 01, 2007 3:18 am
Forum: PSP Development
Topic: Problem with the installation of toochain on Ubuntu FF
Replies: 5
Views: 2587

Problem with the installation of toochain on Ubuntu FF

Hi ! I try to install PSP Toolchain on Ubuntu Feisty Fawn and, after solving a problem of "unexpected eof" because one of the tar.gz2 was not completely downloaded, i find a problem I don't even understand. I'm using this file : http://dev.oopo.net/files/psptoolchain-20070517.tar.bz2 I've ...