Frictional Games Forum (read-only)
Build Linux version - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html)
+--- Forum: HPL1 Engine (https://www.frictionalgames.com/forum/forum-28.html)
+--- Thread: Build Linux version (/thread-5785.html)



Build Linux version - SergeyR - 12-19-2010

when the build project:

Building CXX object /home/sergey/preambula/HPL1Engine/CMakeFiles/HPL.dir/sources/impl/SqScript.cpp.o
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp: In destructor ‘virtual hpl::cSqScript::~cSqScript()’:
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp:52:19: error: ‘class asIScriptEngine’ has no member named ‘Discard’
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp: In member function ‘virtual bool hpl::cSqScript::CreateFromFile(const hpl::tString&)’:
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp:73:22: error: ‘class asIScriptEngine’ has no member named ‘AddScriptSection’
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp:80:22: error: ‘class asIScriptEngine’ has no member named ‘Build’
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp: In member function ‘virtual int hpl::cSqScript::GetFuncHandle(const hpl::tString&)’:
/home/sergey/preambula/HPL1Engine/sources/impl/SqScript.cpp:103:26: error: ‘class asIScriptEngine’ has no member named ‘GetFunctionIDByName’
make[2]: *** [/home/sergey/preambula/HPL1Engine/CMakeFiles/HPL.dir/sources/impl/SqScript.cpp.o] Error 1
make[1]: *** [/home/sergey/preambula/HPL1Engine/CMakeFiles/HPL.dir/all] Error 2
make: *** [all] Error 2


RE: Build Linux version - Urkle - 12-19-2010

Which version of Angelscript are you using? Currently HPL1Engine requires angelscript version 2.7.1b which is included in the dependencies download off of github.


RE: Build Linux version - SergeyR - 12-19-2010

(12-19-2010, 08:13 PM)Urkle Wrote: Which version of Angelscript are you using? Currently HPL1Engine requires angelscript version 2.7.1b which is included in the dependencies download off of github.

I have installed:
angelscript-devel-2.15-1.1.i586

must-2.7.1b?


RE: Build Linux version - Urkle - 12-19-2010

Angelscript is not binary or API compatible between revisions. So you have to build with the revision included in the dependencies.zip. If you download and extracted that next to HPL1Engine the cmake project will use that to override any system libraries you have installed. (as it references ../dependencies/include)