qubodup {l Wrote}:An alternative would be to set lua to <5.2 in the cmake files.
cmake -DLUA_LIBRARIES=/usr/lib/liblua5.1.so -DLUA_INCLUDE_DIR=/usr/include/lua5.1/ .
git pull
rm CMakeCache.txt
make clean
cmake .
make -j 1 &> no.txt
curlpaste no.txt
qubodup {l Wrote}:EDIT: I always used master. I'm sorry, I am not too good with git. Was I supposed to switch to another branch?
[ 0%] Building CXX object src/CMakeFiles/valyriatear.dir/modes/boot/boot.cpp.o
In file included from /home/qubodup/src/git/ValyriaTear/src/modes/boot/boot.cpp:19:0:
/home/qubodup/src/git/ValyriaTear/src/engine/script/script_modify.h: In member function ‘void hoa_script::ModifyScriptDescriptor::_ModifyData(const string&, T)’:
/home/qubodup/src/git/ValyriaTear/src/engine/script/script_modify.h:243:66: error: ‘LUA_GLOBALSINDEX’ was not declared in this scope
/home/qubodup/src/git/ValyriaTear/src/engine/script/script_modify.h: In member function ‘void hoa_script::ModifyScriptDescriptor::_AddNewData(const string&, T)’:
/home/qubodup/src/git/ValyriaTear/src/engine/script/script_modify.h:321:66: error: ‘LUA_GLOBALSINDEX’ was not declared in this scope
In file included from /home/qubodup/src/git/ValyriaTear/src/common/global/global.h:37:0,
from /home/qubodup/src/git/ValyriaTear/src/modes/menu/menu_views.h:25,
from /home/qubodup/src/git/ValyriaTear/src/modes/boot/boot.h:26,
from /home/qubodup/src/git/ValyriaTear/src/modes/boot/boot.cpp:16:
/home/qubodup/src/git/ValyriaTear/src/modes/map/map_utils.h: At global scope:
/home/qubodup/src/git/ValyriaTear/src/modes/map/map_utils.h:50:14: warning: ‘hoa_map::private_map::HALF_TILES_ON_X_AXIS’ defined but not used [-Wunused-variable]
/home/qubodup/src/git/ValyriaTear/src/modes/map/map_utils.h:51:14: warning: ‘hoa_map::private_map::HALF_TILES_ON_Y_AXIS’ defined but not used [-Wunused-variable]
make[2]: *** [src/CMakeFiles/valyriatear.dir/modes/boot/boot.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/valyriatear.dir/all] Error 2
make: *** [all] Error 2
Users browsing this forum: Google [Bot] and 1 guest