1) added #define LUA_PATHSEP ";" to paths.c - yes, unbelievable
2) added
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")
to the CMakeLists.txt files of cutorch, cunn and cunnx3) sudo apt-get install mono-reference-assemblies-4.0 mono-devel
Then edit the Setup.sh file that is inside the directory:
/Engine/Build/BatchFiles/Linux
Delete the line that mentions 'libmono-corlib4.0-cil', and then rerun the normal Setup.sh at the root of the folder.Still, some .h files seemed to be missing in the source tree, which I located and copied on my system:
cd UnrealEngine/Engine/Plugins/ScriptPlugin/Source/ScriptPlugin/Private
cp /torch/exe/luajit-rocks/lua-5.2/src/lua.h .
locate luaconf.h
cp /moai-dev/3rdparty/lua-5.2.2/src/luaconf.h .
locate lauxlib.h
cp /torch/exe/luajit-rocks/lua-5.2/src/lauxlib.h .
cp /home/zat/torch/exe/luajit-rocks/lua-5.2/src/lualib.h .
No comments:
Post a Comment