Heya,
I found several threads on these forums where people had a problem compiling the tutorials to the book “Learning Modern 3D Graphics Programming” by Jason McKesson. They have all gotten helpful answers so I just registered and will try the same … :). Thanks in advance!
So this is what happens: I unzip all the files, build the SDK with premake4 and make, then generate the giant makefile in the rootdirectory with premake4 and run make. This is what I get:
Linking framework
==== Building Tut 14 Basic Texture (debug) ====
Creating obj/Debug/Tut 14 Basic Texture
Basic Texture.cpp
Linking Tut 14 Basic Texture
/usr/bin/ld: …/glsdk/freeglut/lib/libfreeglutD.a(freeglut_state.o): undefined reference to symbol ‘XGetWindowAttributes’
/usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Tut 14 Basic TextureD] Error 1
make: *** [Tut 14 Basic Texture] Error 2
(same for a release build)
Am I doing anything wrong? Am on a Ubuntu 13.04 running on a modern Laptop.