Skip to main content
GameDev.net gamedev.net
🔒 Locked

[Linux] (Some) addons compile fail, missing include for strstr()

Started by Wipe Jan 2, 2021 at 1:52 AM 2 replies 4.3k views
Original Post
Wipe
Wipe
/.../AngelScript/sdk/add_on/scriptfile/scriptfilesystem.cpp:90:6: error: ‘strstr’ was not declared in this scope
  if( strstr(asGetLibraryOptions(), "AS_MAX_PORTABILITY") )
      ^~~~~~
/.../AngelScript/sdk/add_on/scriptfile/scriptfilesystem.cpp:90:6: note: ‘strstr’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?

g++ 8, 9, 10

Games are meant to be created, not played...
WitchLord
WitchLord

Thanks for letting me know. I'll have it fixed as soon as possible.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
WitchLord
WitchLord

I've fixed this in rev 2688

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.