Advertisement

_strcmpi error

Started by February 24, 2020 08:35 PM
3 comments, last by WitchLord 4 years, 8 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

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

Advertisement

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