Installing PSPGL [SOLVED]

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ravine
Posts: 3
Joined: Tue Jul 11, 2006 11:53 am

Installing PSPGL [SOLVED]

Post by Ravine »

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.
zilt
Posts: 45
Joined: Tue Feb 21, 2006 11:59 pm
Location: Ontario, Canada
Contact:

Post by zilt »

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"
Ravine
Posts: 3
Joined: Tue Jul 11, 2006 11:53 am

Post by Ravine »

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.
Ravine
Posts: 3
Joined: Tue Jul 11, 2006 11:53 am

Post by Ravine »

I reinstalled the toolchain then compiled pspGL and it worked fine. I guess my toolchain was broken or something.
Post Reply