🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

scriptbuilder error in angelscript 2.30.1

Started by
1 comment, last by DarkPizzaX 8 years, 11 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?

Advertisement

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

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

This topic is closed to new replies.

Advertisement