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

  • what? platform code errors? what? - strangeqargo
  • Entered some clarity about what I meant by "platform code" - hays
  • google: // stricmp - strangeqargo
  • The trick is that this is one of the problems and so simply it does not dare to try to collect using tips from here, but nothing sensible has come out.
  • assimp is quite problematic to build with minGW - he himself suffered from his build in code blocks + minGW under windows - use visual studio (> = 2013) and everything will be fine - ampawd

0