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
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
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.
[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: *** [Holyspirit] Error 1
make: *** [CMakeFiles/Holyspirit.dir/all] Error 2
make: *** [all] Error 2
What do I do?
You could try replacing the line CMAKE_CXX_FLAGS:STRING= with CMAKE_CXX_FLAGS:STRING=-lGL in the CMakeCache.txt and rebuild.
No luck still same error.
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.
You can try the binary http://www.holyspirit.fr/ressources/LauncherHolyspirit.rar
CMake Error: The source directory “/home/mst/Games/Holyspirit/trunk/Source” does not appear to contain CMakeLists.txt.