-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update the source to compile against angelscript-2.19.0 #1
Comments
It doesn't compile with latest newton too |
it has to be ported to the new version of newton (see the newton2 branch for another contributers work toward it). And scriptstring.cpp is a file FROM angelscript.. just replace it with the one in the angelscript source download. And any other changes that you need to make.. Send a patch:) |
seems like the code have changed alot, I couldn't find scriptstring.cpp in angelscript source, which means that it needs some kind of porting too. I may try to work on that |
what versions of angelscript/newton have been used ? |
Oh, sorry, I found these |
GLee should be moved out of the tree also I think, since it is third party |
Please say, what versions of angelscript/newton have been used? |
@DreadisBack The supported versions used are all included in the dependencies.zip https://github.com/FrictionalGames/HPL1Engine/downloads |
Currently, HPL1Engine fails to compile against angelscript-2.19.0 with the following trace :
[ 0%] Building CXX object CMakeFiles/HPL.dir/sources/impl/scriptstring.cpp.o
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp: In function ‘void RegisterScriptString_Native(asIScriptEngine_)’:
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:588: error: ‘asOBJ_CLASS_CDA’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:595: error: ‘asBEHAVE_ASSIGNMENT’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:596: error: ‘asBEHAVE_ADD_ASSIGN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:600: error: ‘asBEHAVE_ALLOC’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:601: error: ‘asBEHAVE_FREE’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:611: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:611: error: ‘asBEHAVE_EQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:612: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:612: error: ‘asBEHAVE_NOTEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:613: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:613: error: ‘asBEHAVE_LEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:614: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:614: error: ‘asBEHAVE_GEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:615: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:615: error: ‘asBEHAVE_LESSTHAN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:616: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:616: error: ‘asBEHAVE_GREATERTHAN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:617: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:617: error: ‘asBEHAVE_ADD’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:629: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:630: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:634: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:635: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:639: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:640: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:644: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:645: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:649: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:650: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp: In function ‘void RegisterScriptString_Generic(asIScriptEngine_)’:
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:658: error: ‘asOBJ_CLASS_CDA’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:665: error: ‘asBEHAVE_ASSIGNMENT’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:666: error: ‘asBEHAVE_ADD_ASSIGN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:670: error: ‘asBEHAVE_ALLOC’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:671: error: ‘asBEHAVE_FREE’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:681: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:681: error: ‘asBEHAVE_EQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:682: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:682: error: ‘asBEHAVE_NOTEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:683: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:683: error: ‘asBEHAVE_LEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:684: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:684: error: ‘asBEHAVE_GEQUAL’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:685: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:685: error: ‘asBEHAVE_LESSTHAN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:686: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:686: error: ‘asBEHAVE_GREATERTHAN’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:687: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:687: error: ‘asBEHAVE_ADD’ was not declared in this scope
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:699: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:700: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:704: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:705: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:709: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:710: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:714: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:715: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:719: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
/home/hicham/rpmbuild/SOURCES/HPL1Engine-1.0/sources/impl/scriptstring.cpp:720: error: ‘class asIScriptEngine’ has no member named ‘RegisterGlobalBehaviour’
make[2]: *** [CMakeFiles/HPL.dir/sources/impl/scriptstring.cpp.o] Error 1
make[1]: *** [CMakeFiles/HPL.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: