forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing PSPGL [SOLVED]

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Ravine



Joined: 11 Jul 2006
Posts: 3

PostPosted: Tue Jul 11, 2006 11:57 am    Post subject: Installing PSPGL [SOLVED] Reply with quote

I am trying to install PSPGL and am having a bit of trouble. It wont compile when I 'make' it. Here is the error:

$ make
psp-gcc -std=gnu99 -g -Wall -Wmissing-prototypes -Os -G0 -fsingle-precision-cons
tant -I. -I /usr/local/pspdev/psp/include -I /usr/local/pspdev/psp/sdk/include -
funit-at-a-time -MD -MF .deps/eglBindTexImage.d -c eglBindTexImage.c
In file included from eglBindTexImage.c:1:
pspgl_internal.h:9:21: error: pspvfpu.h: No such file or directory
In file included from eglBindTexImage.c:1:
pspgl_internal.h:50: error: requested alignment is not a constant
pspgl_internal.h:56: error: requested alignment is not a constant
pspgl_internal.h:57: error: requested alignment is not a constant
make: *** [eglBindTexImage.o] Error 1

Any help would be greatly appreciated.


Last edited by Ravine on Tue Jul 11, 2006 10:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
zilt



Joined: 21 Feb 2006
Posts: 45
Location: Ontario, Canada

PostPosted: Tue Jul 11, 2006 12:18 pm    Post subject: Reply with quote

I'd say that your psp sdk isn't setup correctly - make can't find pspvfpu.h which is located in "/usr/local/pspdev/psp/sdk/include/" which _is_ being included in your build. So - is pspvfpu.h in that dir on your system? If not, where is it? Also, type the following command to see where the sdk is installed: 'psp-config -p'

It should say something like: "/usr/local/pspdev/psp/sdk"
Back to top
View user's profile Send private message Visit poster's website
Ravine



Joined: 11 Jul 2006
Posts: 3

PostPosted: Tue Jul 11, 2006 12:28 pm    Post subject: Reply with quote

OK, I found a pspvfpu.h and moved it to that location. Now I'm getting another error, not sure if it is because of a 'faulty' pspvfpu.h, so I am updating the SDK. I'll post the error in a second if this doesn't solver the problem.
Back to top
View user's profile Send private message
Ravine



Joined: 11 Jul 2006
Posts: 3

PostPosted: Tue Jul 11, 2006 10:46 pm    Post subject: Reply with quote

I reinstalled the toolchain then compiled pspGL and it worked fine. I guess my toolchain was broken or something.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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