AngelScript 2.1.0c (2005/05/26)
Cannot compile it using vc7.1 + stlport :
All Debug Mode (with _STLP_DEBUG):
angelscript\add_on\std_string\stdstring.cpp(162) : error C2440: 'type cast' : no way to convert from 'overloaded-function' to 'bool (__cdecl *)(const _STL::string &,const _STL::string &)'
(same on each line 'til 167.)
Release Mode
angelscript\add_on\std_string\stdstring.cpp
STLport\stlport\stl\_alloc.h(257) : error C2059: syntax error : 'extern'
...
nearly all stl header listed here with same error
...
Only Release with ASM VM Win32 does compile.
All Debug Mode (with _STLP_DEBUG):
angelscript\add_on\std_string\stdstring.cpp(162) : error C2440: 'type cast' : no way to convert from 'overloaded-function' to 'bool (__cdecl *)(const _STL::string &,const _STL::string &)'
(same on each line 'til 167.)
Release Mode
angelscript\add_on\std_string\stdstring.cpp
STLport\stlport\stl\_alloc.h(257) : error C2059: syntax error : 'extern'
...
nearly all stl header listed here with same error
...
Only Release with ASM VM Win32 does compile.
It seems that STLPort may have defined the comparison operators differently than MSVC++ and GNUC. Maybe you could try to find another way for taking the pointer of the operator functions?
The other error with extern seems to be an incompatibility problem between STLPort and MSVC 7.1+. I'm not sure how to fix that.
In either case, the AngelScript library itself doesn't use any STL functionality because I was afraid something like this would happen. The STL isn't all that portable as the compiler writers would like us to think.
You should be able to replace the std::string in the test application with another similar class and have it work just fine.
The other error with extern seems to be an incompatibility problem between STLPort and MSVC 7.1+. I'm not sure how to fix that.
In either case, the AngelScript library itself doesn't use any STL functionality because I was afraid something like this would happen. The STL isn't all that portable as the compiler writers would like us to think.
You should be able to replace the std::string in the test application with another similar class and have it work just fine.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Quote:
Original post by WitchLord
'd' does indeed stand for debug. I'll verify the project settings in the SDK.
Slightly OT I guess but I think a quick post is in order: I was still compiling in Debug mode although I thought I had set it to Release (my bad).. hence why I got angelscriptd.lib instead of angelscript.lib.
tIDE Tile Map Editorhttp://tide.codeplex.com
I use STLPort with no problems.
Just ensure that your build configuration is proper.
Just ensure that your build configuration is proper.
I've uploaded 2.1.0a with a few minor bug fixes.
This version also includes the first sample application written by me. It shows how an in-game console, ala Quake, could benefit from AngelScript.
I hope to write more samples for future versions.
Regards,
Andreas
This version also includes the first sample application written by me. It shows how an in-game console, ala Quake, could benefit from AngelScript.
I hope to write more samples for future versions.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've uploaded version 2.1.0b with new minor bug fixes.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've released 2.1.0c with more bug fixes.
Thanks to Andrey Kraynov, a.k.a _Dreamer, for discovering those bugs.
Thanks to Andrey Kraynov, a.k.a _Dreamer, for discovering those bugs.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement