Created camera manager
*** Initialising script engine AngelScript ***
AS: (0, 0) : ERR :
Failed in call to function 'RegisterGlobalFunction' with 'int stringToInt(string &in)' (Code: -7)
OpenDungeons.bin: /home/tom/Opendungeons/opendungeons/source/ASWrapper.cpp:188: void ASWrapper::registerEverything(): Assertion `r >= 0' failed.
./OpenDungeonsNoStdoutNoStderr: line 3: 7060 Aborted ./OpenDungeons.bin
-7 is <a href="#notsupported" >asNOT_SUPPORTED</a> ,
For what IRC says it;'s calling convertion not supproted .
That what happens on IA32.
On AMD64 it works fine though .
r = engine->RegisterGlobalFunction(
"int stringToInt(string &in)",
asCALL_CDECL); assert(r >= 0);
For what I understood the asCall_CDECL is no longer a valid call conv. Why is that ? This happens on ANGELSCRIPT_VERSION_STRING "2.25.0"
I also tried upgrading to the newest one AS Version and it happens as well .
Edited by paul424, 19 April 2013 - 06:52 AM.