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 

Error making SDL_image

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



Joined: 01 Mar 2006
Posts: 1
Location: Kelowna, British Columbia, Canada

PostPosted: Thu Mar 02, 2006 1:18 am    Post subject: Error making SDL_image Reply with quote

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
View user's profile Send private message
xflash



Joined: 15 Jan 2006
Posts: 2

PostPosted: Wed Mar 15, 2006 6:45 am    Post subject: Reply with quote

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
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