X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=web%2Fdoc%2Fmanager_manual.txt;h=5fc8d4e5c43cb8edd3318796410253a311973377;hp=d8b7a68a05351c8bcbce05115caacb13e29b51a2;hb=1dc2550dc93d6b0ab2cde1cd2fc76a2cf45faf21;hpb=fe14abf80ad8503eb8984f3a8e7139243d6a1e19;ds=inline diff --git a/web/doc/manager_manual.txt b/web/doc/manager_manual.txt index d8b7a68..5fc8d4e 100644 --- a/web/doc/manager_manual.txt +++ b/web/doc/manager_manual.txt @@ -231,12 +231,14 @@ BUILDING To enable graphics: 1. Ensure that the first line of the source file "graphics.h" reads: #define BUILD_GRAPHICS - 2. In "Makefile", uncomment the line "CPP = g++ -Wall -pedantic -lSDL -lGL -g" and comment out the line "CPP = g++ -Wall -pedantic -g" + 2. In "Makefile", uncomment the line "LIBRARIES = -lSDL -lGL -lpthread" + and comment out the line "LIBRARIES = -lpthread" To disable graphics: 1. Comment out the first line of "graphics.h" i.e ensure that it reads: //#define BUILD_GRAPHICS - 2. In "Makefile", uncomment the line "CPP = g++ -Wall -pedantic -g" and comment out the line "CPP = g++ -Wall -pedantic -lSDL -lGL -g" + 2. In "Makefile", uncomment the line "LIBRARIES = -lpthread" + and comment out the line "LIBRARIES = -lSDL -lGL -lpthread" If you intend to build with graphics enabled, you will need the SDL and OpenGL developement libraries installed first. If you intend to use graphics, please ensure the "images" directory is located in the executable's run directory.