Compiling error - Ubuntu 9.04

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

Compiling error - Ubuntu 9.04

Post by _.-noel-._ »

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
Mon Ouïe
Posts: 36
Joined: Sun Jul 05, 2009 10:22 pm

Post by Mon Ouïe »

This means the libGL is missing. You should recompile OpenGL.
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

Post by _.-noel-._ »

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
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Remove -lGL from the makefile and try to recompile and see where someone uses OpenGL

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Mon Ouïe
Posts: 36
Joined: Sun Jul 05, 2009 10:22 pm

Post by Mon Ouïe »

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.
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

Post by _.-noel-._ »

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