SergeyR
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
|
Build Linux version
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
(This post was last modified: 12-19-2010 11:15 AM by SergeyR.)
|
|
| 12-19-2010 11:00 AM |
|
Urkle
FG - Associate
Posts: 1,101
Joined: Jul 2006
Reputation: 14
|
RE: Build Linux version
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
|
|
| 12-19-2010 08:13 PM |
|
SergeyR
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
|
RE: Build Linux version
(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?
|
|
| 12-19-2010 08:24 PM |
|
Urkle
FG - Associate
Posts: 1,101
Joined: Jul 2006
Reputation: 14
|
RE: Build Linux version
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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
|
|
| 12-19-2010 09:57 PM |
|