Somewhat new to Linux and compiling, but I was hoping someone could take a look at my attached error logs for some ideas on what I'm doing wrong. Here are the commands I run through to get to the point I'm at:
git clone https://github.com/SupSuper/OpenXcom.git openxcom
<copy DATA folders and patched files into /OpenXcom/bin/UFO>
mkdir openxcom/build
cd openxcom/build
cmake ..
cmake -DCMAKE_BUILD_TYPE=Release
make -j3
After "cmake ..", I get this error for the missing "doxygen" command:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/OpenXcom
found SDL 1.2.15 (/usr/lib/arm-linux-gnueabihf:/usr/include/SDL)
found SDL_mixer 1.2.12 (/usr/lib/arm-linux-gnueabihf:/usr/include/SDL)
found SDL_gfx 2.0.23 (/usr/lib/arm-linux-gnueabihf:/usr/include/SDL)
found SDL_image 1.2.12 (/usr/lib/arm-linux-gnueabihf:/usr/include/SDL)
found yaml-cpp(/usr/lib/arm-linux-gnueabihf:/usr/include/yaml-cpp;/usr/include/yaml-cpp/..)
git found: /usr/bin/git
version:1.0.
No doxygen command found. Disable API documentation generation
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/OpenXcom
If I try to push through and do the "make" portion, I then get a bunch of errors related to YAML::Node:
[ 0%] [ 0%] [ 0%] Building CXX object src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o
Building CXX object src/CMakeFiles/openxcom.dir/Basescape/BasescapeState.cpp.o
Building CXX object src/CMakeFiles/openxcom.dir/Basescape/BuildFacilitiesState.cpp.o
In file included from /home/pi/OpenXcom/src/Basescape/../Mod/Mod.h:27:0,
from /home/pi/OpenXcom/src/Basescape/BuildFacilitiesState.cpp:21:
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:130:9: error: ‘convert’ is not a template
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:131:2: error: explicit specialization of non-template ‘YAML::convert’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h: In static member function ‘static YAML::Node YAML::convert::encode(const OpenXcom::UnitStats&)’:
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:135:21: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"tu")) = rhs.OpenXcom::UnitStats::tu’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:135:21: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
/usr/include/yaml-cpp/node.h:33:21: note: no known conversion for argument 1 from ‘const int’ to ‘YAML::Node&’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:136:26: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"stamina")) = rhs.OpenXcom::UnitStats::stamina’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:136:26: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
/usr/include/yaml-cpp/node.h:33:21: note: no known conversion for argument 1 from ‘const int’ to ‘YAML::Node&’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:137:25: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"health")) = rhs.OpenXcom::UnitStats::health’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:137:25: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
/usr/include/yaml-cpp/node.h:33:21: note: no known conversion for argument 1 from ‘const int’ to ‘YAML::Node&’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:138:26: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"bravery")) = rhs.OpenXcom::UnitStats::bravery’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:138:26: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
/usr/include/yaml-cpp/node.h:33:21: note: no known conversion for argument 1 from ‘const int’ to ‘YAML::Node&’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:139:28: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"reactions")) = rhs.OpenXcom::UnitStats::reactions’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:139:28: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
/usr/include/yaml-cpp/node.h:33:21: note: no known conversion for argument 1 from ‘const int’ to ‘YAML::Node&’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:140:25: error: no match for ‘operator=’ in ‘node.YAML::Node::operator[](((const char*)"firing")) = rhs.OpenXcom::UnitStats::firing’
/home/pi/OpenXcom/src/Basescape/../Mod/Unit.h:140:25: note: candidate is:
/usr/include/yaml-cpp/node.h:33:21: note: YAML::Node& YAML::Node::operator=(YAML::Node&)
<snip>
/home/pi/OpenXcom/src/Basescape/../Mod/RuleRegion.h:130:9: error: ‘convert’ is not a template
/home/pi/OpenXcom/src/Basescape/../Mod/RuleRegion.h:130:38: error: ‘YAML::convert’ is not a template type
/home/pi/OpenXcom/src/Basescape/../Mod/RuleRegion.h:160:9: error: ‘convert’ is not a template
/home/pi/OpenXcom/src/Basescape/../Mod/RuleRegion.h:160:38: error: ‘YAML::convert’ is not a template type
src/CMakeFiles/openxcom.dir/build.make:100: recipe for target 'src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o' failed
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o] Error 1
src/CMakeFiles/openxcom.dir/build.make:146: recipe for target 'src/CMakeFiles/openxcom.dir/Basescape/BasescapeState.cpp.o' failed
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/BasescapeState.cpp.o] Error 1
CMakeFiles/Makefile2:90: recipe for target 'src/CMakeFiles/openxcom.dir/all' failed
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
Makefile:133: recipe for target 'all' failed
make: *** [all] Error 2
My google-fu is failing on this, can someone provide some insights? I have attached the full logs.