🎉 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!

_strcmpi error

Started by
3 comments, last by WitchLord 4 years, 3 months ago

I am having a bit problem to compile my game with this error:

angelscript/add_on/scriptbuilder/scriptbuilder.h:205:11: error: '_strcmpi' was not declared in this scope

I have compiled angelscript with codeblocks(as you provided), and when I tried to compile my game, I am getting this error.

I am using win32(7)

Regards

Advertisement

Which SDK do you use with code::blocks to compile the code?

Try replacing _strcmpi with _stricmp in scriptbuilder.h.

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 changed _strcmpi to strcmp and it compiled.

Thanks.

strcmp may compile, but it is not case insensitive, so you could get incorrect behavior on Windows with regards to the #include files.

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