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
(This post was last modified: 12-19-2010, 11:15 AM by SergeyR.)
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.
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
(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.
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)
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB