Frictional Games Forum (read-only)

Full Version: Build Linux version
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
(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?
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)