| View previous topic :: View next topic |
| Author |
Message |
ogopogoUBC
Joined: 01 Mar 2006 Posts: 1 Location: Kelowna, British Columbia, Canada
|
Posted: Thu Mar 02, 2006 1:18 am Post subject: Error making SDL_image |
|
|
Hey,
I keep getting errors when attempting to install the SDL_image libraries.
I have the latest toolchain/devkit/pspgl/SDL set up and working as far as i can tell
in cygwin I entered the
| Code: | ./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) \
--prefix=$(psp-config --psp-prefix) |
as it says to in the readme.psp but when I enter "make" it gets terminated with the same errors every time:
| Code: | /usr/local/pspdev/psp/lib/libGL.a(eglCreateContext.o): In function `eglCreateCon
text':
/home/pspgl/eglCreateContext.c:43: undefined reference to `pspvfpu_initcontext'
/usr/local/pspdev/psp/lib/libGL.a(eglDestroyContext.o): In function `eglDestroyC
ontext':
/home/pspgl/eglDestroyContext.c:42: undefined reference to `pspvfpu_deletecontex
t'
/usr/local/pspdev/psp/lib/libGL.a(glLoadIdentity.o): In function `glLoadIdentity
':
/home/pspgl/glLoadIdentity.c:23: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_context.o): In function `flush_matrix':
/home/pspgl/pspgl_context.c:109: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_s
ync':
/home/pspgl/pspgl_matrix.c:19: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_l
oad':
/home/pspgl/pspgl_matrix.c:33: undefined reference to `pspvfpu_use_matrices'
/usr/local/pspdev/psp/lib/libGL.a(glMultMatrixf.o): In function `glMultMatrixf':
/home/pspgl/glMultMatrixf.c:17: undefined reference to `pspvfpu_use_matrices'
collect2: ld returned 1 exit status
make: *** [showimage] Error 1 |
I am trying to port Wouter van Oortmerssen's Cube FPS/engine/editor but I can't really get started without all of the required libraries and whatnot in place.
Please help...
-Ogopogo |
|
| Back to top |
|
 |
xflash
Joined: 15 Jan 2006 Posts: 2
|
Posted: Wed Mar 15, 2006 6:45 am Post subject: |
|
|
Hello
I met the same problems with the newly added vfpu lib.
Try to add -lpsprtc -lpspvfpu to your linker libraries (LDFLAGS & cie)
xf |
|
| Back to top |
|
 |
|