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 

pspgl make error

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



Joined: 05 May 2005
Posts: 66

PostPosted: Sat Aug 13, 2005 1:42 pm    Post subject: pspgl make error Reply with quote

I just got everything from SVN and I am making the pspgl but I am getting an error in glut.c it looks like, can someone confirm this or take a look at it.

Code:

psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/eglTerminate.d -c eglTerminate.c
psp-gcc -g -Wall -O2 -G0 -fsingle-precision-constant -I. -I /usr/local/pspdev/ps
p/sdk/include -MD -MF .deps/glut.d -c glut.c
In file included from glut.c:6:
/usr/local/pspdev/psp/sdk/include/psploadexec.h:64: error: parse error before 'S
ceSize'
/usr/local/pspdev/psp/sdk/include/psploadexec.h:64: warning: no semicolon at end
 of struct or union
/usr/local/pspdev/psp/sdk/include/psploadexec.h:66: warning: type defaults to 'i
nt' in declaration of 'args'
/usr/local/pspdev/psp/sdk/include/psploadexec.h:66: warning: data definition has
 no type or storage class
/usr/local/pspdev/psp/sdk/include/psploadexec.h:71: error: parse error before '}
' token
glut.c:174: error: 'key' redeclared as different kind of symbol
/usr/local/pspdev/psp/sdk/include/psploadexec.h:70: error: previous declaration
of 'key' was here
make: *** [glut.o] Error 1


I haven't modified anything, just got it from svn.

Thanks
JK
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sun Aug 14, 2005 9:57 am    Post subject: Reply with quote

Apparently Tyranid fixed it, except he fixed the wrong file :).
Back to top
View user's profile Send private message
webjeff



Joined: 05 May 2005
Posts: 66

PostPosted: Mon Aug 15, 2005 12:34 am    Post subject: Reply with quote

yea, we talked about it in IRC. I also updated my GCC to the newest on SVN and that samed to fix it.

Jeff.
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Mon Aug 15, 2005 5:05 am    Post subject: Reply with quote

just wondering, when you update your svn, where do you extract the files to?

i have extracted the files into /usr/local/pspdev/psp/

and inside the psp/ folder there is trunk vendor and tag. are these folders supose to be there. so am i supose to extract the content inside of trunk/vendor/tag into another dir? because when i try to compile my code i this error.

Code:

psp-gcc -g -Wall -O2 -MD -I/usr/local/pspdev/psp/sdk/include -I.. -c eglcube.c
bin2o -i logo.raw logo.o logo
psp-gcc eglcube.o logo.o -g -Wall -O2 -L/usr/local/pspdev/psp/sdk/lib -L.. -lpspgl -lm -lpspdebug -lpspge -lpspdisplay -lpspctrl -lpspsdk -lpsplibc -lpspuser -lpspkernel -o pspGL-cube.elf
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/bin/ld: cannot find -lpspgl
collect2: ld returned 1 exit status
make: *** [pspGL-cube.elf] Error 1

_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
holger



Joined: 18 Aug 2005
Posts: 204

PostPosted: Sun Aug 21, 2005 6:02 am    Post subject: Reply with quote

have you typed "make" in the pspgl/ directory before trying to build the demos? Since -L.. is part of the LFLAGS it looks there for libpspgl.a...

Holger
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