How to build Offsite_Assimp [Godub_Godub] under MinGW into a static library?
When building using cmak'a arguments (cmake -G "MinGW Makefiles") and compiling, I get platform platform errors ..
inline int ASSIMP_stricmp(const char *s1, const char *s2) { ai_assert(NULL != s1 && NULL != s2); #if (defined _MSC_VER) return ::_stricmp(s1,s2); #elif defined( __GNUC__ ) return ::strcasecmp(s1,s2);//У MinGW нет этого метода ... #else char c1, c2; do { c1 = tolower(*s1++); c2 = tolower(*s2++); } while ( c1 && (c1 == c2) ); return c1 - c2; #endif } PS Used by Windows