FANDOM


Installation StepsEdit

  1. install Premake
    •  !! need to install premake4 with apt-get
  2. install libxrandr-dev
  3. premake glsdk
    •  !! target for premake is "gmake"
cd $DATENWOLF
cd gldsk
premake4 gmake
  1. build glsdk
    • to build "release libs" use "make config=release"
cd $DATENWOLF
cd gldsk
make
  1. patch framework.lua to add X11 library
    • ERROR SYMPTOM
~/usr/datenwolf/Tut 01 Hello Triangle$ make
Linking Tut 01 Main
/usr/bin/ld: ../../glsdk_0_5_2/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
Makefile:85: recipe for target 'Tut 01 MainD' failed
make: *** [Tut 01 MainD] Error 1
    • FIX $DATENWOLF/premake.lua file
       configuration "linux"
-               links {"GL", "GLU"}
+               links {"GL", "GLU", "X11"}

end

Optional Steps Edit

  1. Install IDE
    • I'm trying QtCreator

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.