Skip to content

Please update the source to compile against angelscript-2.19.0 #1

Description

@hicham-haouari

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions