L.G.C. |How-To| — Holyspirit Alpha (svn) Ubuntu 12.04

This how-to wlll cover installing PPAs, cloning a Subversion repo, building with cmake, and installing dependencies.

Install sfml2 PPA
sudo add-apt-repository ppa:sonkun/sfml

sudo apt-get update

Install dependencies
sudo apt-get install libsfml2 libsfml2-dev libpthread-stubs0-dev libgl1-mesa-dev libx11-dev libxrandr-dev libfreetype6-dev libglew1.5-dev libjpeg8-dev libsndfile1-dev libopenal-dev cmake subversion

Pull the subversion repository
svn co https://lechemindeladam.svn.sourceforge.net/svnroot/lechemindeladam Holyspirit

Enter the source directory
cd Holyspirit/trunk/Source

Build the binary
mkdir build && cd build && cmake ..

make -j2 (adjust “2” to match the physical cores)

Copy the binary to the trunk directory
cp Holyspirit /home/your home/Desktop/Holyspirit/trunk

Default language English
Open configuration.conf in /Holyspirit/trunk and edit line #37 “language: fr_FR” to “language: en_EN” and save.


Websites
www.holyspirit.fr
sourceforge.net/projects/lechemindeladam

6 Comments
  1. [email protected]:~/Holyspirit/trunk/Source/Build$ make -j4
    Linking CXX executable Holyspirit
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libsfml-window-s.a(GlxContext.cpp.o): undefined reference to symbol ‘glXMakeCurrent’
    /usr/bin/ld: note: ‘glXMakeCurrent’ is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
    /usr/lib/libGL.so.1: could not read symbols: Invalid operation
    collect2: ld returned 1 exit status
    make[2]: *** [Holyspirit] Error 1
    make[1]: *** [CMakeFiles/Holyspirit.dir/all] Error 2
    make: *** [all] Error 2

    What do I do?

    Thanks,

    LinuxNewbie

  2. You could try replacing the line CMAKE_CXX_FLAGS:STRING= with CMAKE_CXX_FLAGS:STRING=-lGL in the CMakeCache.txt and rebuild.

  3. I tried this method and it appears that the SVN pull does not grab the CMakeLists.txt file with the current revision. 

    The one that was shown in this vid was 2359 the current is 2371. 

    I tried coping the CMakeLists.txt from the previous revision, but unfortunately it will not compile and gives an Error 2 as it exits in the compiling. :(

    I really would like to try this out, too. 

  4. CMake Error: The source directory “/home/mst/Games/Holyspirit/trunk/Source” does not appear to contain CMakeLists.txt.

Leave Your Reply