aliens

Author Topic: Having issues compiling on Linux  (Read 1127 times)

Offline hellrazor

  • Commander
  • *****
  • Posts: 1980
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Having issues compiling on Linux
« on: January 27, 2022, 12:26:29 am »
Maybe my YAML Version is out of date?


Code: [Select]
[ 73%] Building CXX object src/CMakeFiles/openxcom.dir/Mod/Polyline.cpp.o
/home/patrick/games/openxcom/OpenXcom/src/Mod/Mod.cpp: In member function ‘void OpenXcom::Mod::loadOffsetNode(const string&,

int&, const YAML::Node&, int, const string&, size_t, size_t) const’:
/home/patrick/games/openxcom/OpenXcom/src/Mod/Mod.cpp:730:128: error: ‘const class YAML::Node’ has no member named ‘Mark’
   err << "Error for '" << parent << "': offset '" << offset << "' has incorrect value in set '" << set << "' at line " << node.Mark().line;
                                                                                                                                ^
[ 74%] Building CXX object src/CMakeFiles/openxcom.dir/Mod/RuleAlienMission.cpp.o
[ 74%] Building CXX object src/CMakeFiles/openxcom.dir/Mod/RuleBaseFacility.cpp.o
[ 74%] Building CXX object src/CMakeFiles/openxcom.dir/Mod/RuleCommendations.cpp.o
make[2]: *** [src/CMakeFiles/openxcom.dir/Mod/Mod.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
make: *** [all] Error 2


Offline Yankes

  • Commander
  • *****
  • Posts: 2763
    • View Profile
Re: Having issues compiling on Linux
« Reply #1 on: January 31, 2022, 03:15:50 pm »
Its very possible, you can try update system lib to have newer version, you can try compile yaml from sources, and finally you can temporary replace `node.Mark().line` with `0` as this is more debug tool than critical function for OXCE.