You are not logged in.

#1 2013-01-07 14:40:48

Morn
Member
Registered: 2012-09-02
Posts: 886

[SOLVED] Rigs of Rods / Angelscript problem

I have created a PKGBUILD for rigsofrods that pulls from the new mercurial repo. But compilation stops due to a problem with Angelscript.

The obvious solution would be to turn off Angelscript, so I put "  -DROR_USE_ANGELSCRIPT=FALSE \" into the PKGBUILD. But this seems to get ignored by cmake/make:

-- ANGELSCRIPT Enabled:         YES
(...)
[  1%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/serializer/serializer.cpp.o
/home/martin/aur/rigsofrods-hg/src/codehg/source/angelscript_addons/serializer/serializer.cpp: In member function 'int AngelScript::CSerializer::Store(AngelScript::asIScriptModule*)':
/home/martin/aur/rigsofrods-hg/src/codehg/source/angelscript_addons/serializer/serializer.cpp:60:38: error: no matching function for call to 'AngelScript::asIScriptModule::GetGlobalVar(AngelScript::asUINT&, const char**, int*)'
/home/martin/aur/rigsofrods-hg/src/codehg/source/angelscript_addons/serializer/serializer.cpp:60:38: note: candidate is:

P.S. Aha, -DANGELSCRIPT_INCLUDE_DIRS="" works.

Last edited by Morn (2013-01-07 15:03:31)

Offline

Board footer

Powered by FluxBB