[Bug 311153] [NEW] OpenGL project linker options

Logon Jogly at aol.com
Wed Dec 24 12:14:52 UTC 2008


Public bug reported:

Binary package hint: codeblocks

Ubuntu release: 8.10

package version:  8.02-0ubuntu2

I expected to build an executable from the example OpenGL-/GLUT-project
without any necesarry changes.

When I run the build command I got the linker error "-lGL is missing".

After a little research, I found out that the lib-file (the linker is
looking for) has a different name ("libGLU.a" instead of "libGL.a"). My
quick solution is to edit my "*.cbp"-project-file (xml-style) by hand,
and change the line after the <Linker>-Tag from <Add library="GL" />
into <Add library="GLU" />.

** Affects: codeblocks (Ubuntu)
     Importance: Undecided
         Status: New

-- 
OpenGL project linker options
https://bugs.launchpad.net/bugs/311153
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list