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 

Compiling error - Ubuntu 9.04

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



Joined: 13 Aug 2007
Posts: 49

PostPosted: Sun Aug 23, 2009 8:47 am    Post subject: Compiling error - Ubuntu 9.04 Reply with quote

Hello, i've got a problem with compiling on Ubuntu 9.04 ..

My Problem:

/usr/local/pspdev/lib/gcc/psp/4.3.2/../../../../psp/bin/ld: cannot find -lGL

so, where is my lGL ?!
or, what is lGL ^^

i hope someone can help me ;)
_________________
Sry for my english
Back to top
View user's profile Send private message
Mon Ouïe



Joined: 05 Jul 2009
Posts: 36

PostPosted: Sun Aug 23, 2009 4:35 pm    Post subject: Reply with quote

This means the libGL is missing. You should recompile OpenGL.
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Sun Aug 23, 2009 10:22 pm    Post subject: Reply with quote

sure it is OpenGL ?!
The project didn't use OpenGL ...
(it's a team project ... that's why i don't know why these libs are in the Makefile ^^)
_________________
Sry for my english
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Mon Aug 24, 2009 1:10 am    Post subject: Reply with quote

Remove -lGL from the makefile and try to recompile and see where someone uses OpenGL
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
Mon Ouïe



Joined: 05 Jul 2009
Posts: 36

PostPosted: Mon Aug 24, 2009 1:21 am    Post subject: Reply with quote

Yeah. No one'd create a library using the same files as OpenGL.
Well, I don't think they've put these libs without any reason. You can try to remove them, but you'll probably get undefined references.
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Mon Aug 24, 2009 3:08 am    Post subject: Reply with quote

hey =)

i've removed the -lGL from the makefile, and it works perfectly =)

no linking errors

thx
thread can be closed
_________________
Sry for my english
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