Thank you; looks like a cool program. I have tried only the most basic example because I don't have time to play right now, but it does work
.
Install on Linux Mint 17.1 (a Ubuntu derivative).
Quick notes:
1.
I installed SFML with
sudo apt-get install libsfml-dev
2.
The cmake in the Ubuntu repos isn't recent enough. I downloaded and compiled it myself (the address is in install_dep.sh, a shell script which probably could have done the job for me, but whatever). I gave the --prefix=path argument to ./configure to get the more recent version of cmake to install inside Symmetricality's folder so it didn't pollute my system.
(I also added the files I downloaded to .gitignore, although this is optional.)
wget
https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz&&tar xf cmake-3.4.1.tar.gz
cd cmake-3.4.1/
./configure --prefix=whatever
make -j2
make install
cd back_to_symmetricality
export PATH=path/to/new/cmake/bin:$PATH
which cmake => new one
cmake --version => new one
cmake .
(Want to do make next; but one more thing first ...)
3.
I got a compilation error:
Scanning dependencies of target Symmetricality
[ 9%] Building CXX object CMakeFiles/Symmetricality.dir/PlanRenderer.cpp.o
/home/NAME/OpenSourceProjects/Symmetricality/PlanRenderer.cpp: In member function ‘void PlanRenderer::loadDesignationConfiguration(Json::Value&)’:
/home/NAME/OpenSourceProjects/Symmetricality/PlanRenderer.cpp:474:42: error: ‘const class sf::Color’ has no member named ‘toInteger’
if (sf::Color::White.toInteger() == pp.toInteger()) {
^
/home/NAME/OpenSourceProjects/Symmetricality/PlanRenderer.cpp:474:60: error: ‘class sf::Color’ has no member named ‘toInteger’
if (sf::Color::White.toInteger() == pp.toInteger()) {
^
make[2]: *** [CMakeFiles/Symmetricality.dir/PlanRenderer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Symmetricality.dir/all] Error 2
make: *** [all] Error 2
Fixed by changing line 474:
- if (sf::Color::White.toInteger() == pp.toInteger()) {
+ if (sf::Color::White == pp) {
Now we can make to build Symmetricality, and it runs and works.
Probably an API change in SFML?
Thank you again XD.