unable to install fltk in win8

Hi, can someone help me with this?


-----------------------------------------------------------------------
Compiling factory.cxx...
In file included from factory.cxx:42:0:
../src/flstring.h:52:38: error: 'int _stricmp' redeclared as different kind o
ymbol
# define strcasecmp(s,t) _stricmp((s), (t))
^
factory.cxx:54:12: note: in expansion of macro 'strcasecmp'
static int strcasecmp(const char * s, const char * t) {
^
In file included from ../FL/fl_utf8.h:43:0,
from ../FL/Fl.H:39,
from factory.cxx:36:
c:\mingw\include\string.h:81:37: error: previous declaration of 'int _stricmp
nst char*, const char*)'
_CRTIMP int __cdecl __MINGW_NOTHROW _stricmp (const char*, const char*);
^
In file included from factory.cxx:42:0:
factory.cxx:54:23: error: expected primary-expression before 'const'
static int strcasecmp(const char * s, const char * t) {
^
../src/flstring.h:52:40: note: in definition of macro 'strcasecmp'
# define strcasecmp(s,t) _stricmp((s), (t))
^
factory.cxx:54:23: error: expected ')' before 'const'
static int strcasecmp(const char * s, const char * t) {
^
../src/flstring.h:52:40: note: in definition of macro 'strcasecmp'
# define strcasecmp(s,t) _stricmp((s), (t))
^
make[1]: *** [factory.o] Error 1
make: *** [all] Error 1
-----------------------------------------------------------------------


Currently I am taking C++ course, my professor wants us to install MinGW and need to know how to use FLTK (fluid). However, I could not get FLTK work in my win8 laptop. It keeps saying those errors after I type in $ make

Anyone know how to fix this???
Topic archived. No new replies allowed.