Reputation: 351
I'm trying to build the tutorials from http://www.arcsynthesis.org/gltut/index.html and I can't seem to get past the linking part. This is what I get when I go to Tut 01 folder and type in "premake4 gmake" and "make" right after.
==== Building framework (debug) ====
==== Building Tut 01 Main (debug) ====
Linking Tut 01 Main
/usr/bin/ld: cannot find -lglloadD
/usr/bin/ld: cannot find -lglimgD
/usr/bin/ld: cannot find -lglutilD
/usr/bin/ld: cannot find -lglmeshD
/usr/bin/ld: cannot find -lfreeglutD
collect2: error: ld returned 1 exit status
make[1]: *** [Tut 01 MainD] Error 1
make: *** [Tut 01 Main] Error 2
As you can see, it has problems linking the project together. I downloaded Tutorial 0.3.8.7z from here: https://bitbucket.org/alfonse/gltut/downloads
Upvotes: 2
Views: 653
Reputation: 351
All right, I found the answer just in case anyone wants to know how to fix, all you have to do is open the file in framework/framework.lua and scroll down until you see
configuration "linux"
links {"GL", "GLU"}
and change that to
configuration "linux"
links {"GL", "GLU", "X11"}
Which would allow you to compile all of the tutorials.
Upvotes: 3