Advertisement

scriptbuilder error in angelscript 2.30.1

Started by July 19, 2015 08:06 AM
1 comment, last by DarkPizzaX 9 years, 4 months ago

I just updated my angelscript SDK to 2.30.1 but I couldn't get scriptbuilder.h to compile correctly (am using GCC 4.9.2 on Windows), it was informing me that the function _strcmpi did not exist. While I fixed it by including windows.h and changing the function to _stricmp, but now I have to deal with windows.h being included.

I'm not sure if this is a bug or something, or if I'm just really bad at including libraries, but still. Does anybody else have this problem?

I believe that the only change you need to do is to include string.h.

At least with MinGW this was enough to fix the compilation error in scriptbuilder.h.

I'll have this fix checked in as soon as SourceForge restores the SVN access.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Thanks for the quick reply. Adding #include <string.h> fixed it for me.

This topic is closed to new replies.

Advertisement