| View previous topic :: View next topic |
| Author |
Message |
Ravine
Joined: 11 Jul 2006 Posts: 3
|
Posted: Tue Jul 11, 2006 11:57 am Post subject: Installing PSPGL [SOLVED] |
|
|
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 |
|
 |
zilt
Joined: 21 Feb 2006 Posts: 45 Location: Ontario, Canada
|
Posted: Tue Jul 11, 2006 12:18 pm Post subject: |
|
|
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 |
|
 |
Ravine
Joined: 11 Jul 2006 Posts: 3
|
Posted: Tue Jul 11, 2006 12:28 pm Post subject: |
|
|
| 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 |
|
 |
Ravine
Joined: 11 Jul 2006 Posts: 3
|
Posted: Tue Jul 11, 2006 10:46 pm Post subject: |
|
|
| I reinstalled the toolchain then compiled pspGL and it worked fine. I guess my toolchain was broken or something. |
|
| Back to top |
|
 |
|