| View previous topic :: View next topic |
| Author |
Message |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Sun Aug 23, 2009 8:47 am Post subject: Compiling error - Ubuntu 9.04 |
|
|
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 |
|
 |
Mon Ouïe
Joined: 05 Jul 2009 Posts: 36
|
Posted: Sun Aug 23, 2009 4:35 pm Post subject: |
|
|
| This means the libGL is missing. You should recompile OpenGL. |
|
| Back to top |
|
 |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Sun Aug 23, 2009 10:22 pm Post subject: |
|
|
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 |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Aug 24, 2009 1:10 am Post subject: |
|
|
Remove -lGL from the makefile and try to recompile and see where someone uses OpenGL _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
Mon Ouïe
Joined: 05 Jul 2009 Posts: 36
|
Posted: Mon Aug 24, 2009 1:21 am Post subject: |
|
|
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 |
|
 |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Mon Aug 24, 2009 3:08 am Post subject: |
|
|
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 |
|
 |
|