Compilation error on linux

Yildiz-online
Posts: 3
Joined: Wed Sep 26, 2012 3:08 pm

Compilation error on linux

Post by Yildiz-online »

When compiling extra lib on linux(g++), i ve 2 error related to stricmp not found in btXmlWoldImporter.cpp

i fixed it by adding the case in

Code: Select all

#if defined(__APPLE__) || defined(__CELLOS_LV2__)
#define stricmp(a, b) strcasecmp((a), (b))
#endif
As i am not C++ expert, i cant be sure if this is a bug or if i missed something
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Compilation error on linux

Post by Erwin Coumans »

This should be fixed in latest trunk.

Thanks for the report!
Erwin
Yildiz-online
Posts: 3
Joined: Wed Sep 26, 2012 3:08 pm

Re: Compilation error on linux

Post by Yildiz-online »

Running fine in rev 2602(win32 and linux64), thank you for the quick answer.