[Insight-users] About Fltk

王琪 qi-wang02 at mails.thu.edu.cn
Mon Feb 13 07:06:25 EST 2006


Hi,
  Could you tell me how to install fltk? I have just tried to build it, but there  seems to be several errors. It shows as follows:
   
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(124) : error C2065: 'localtime' : undeclared identifier
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(124) : error C2440: '=' : cannot convert from 'int' to 'struct Fl_Clock_Output::value::tm *'
        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2027: use of undefined type 'tm'
        D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(121) : see declaration of 'tm'
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2227: left of '->tm_hour' must point to class/struct/union
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2027: use of undefined type 'tm'
        D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(121) : see declaration of 'tm'
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2227: left of '->tm_min' must point to class/struct/union
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2027: use of undefined type 'tm'
        D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(121) : see declaration of 'tm'
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(125) : error C2227: left of '->tm_sec' must point to class/struct/union
D:\fltk-1.1.7-source\fltk-1.1.7\src\Fl_Clock.cxx(151) : error C2065: 'time' : undeclared identifier
   I have just download fltk-1.1.7, and built it. What's the problem?
   Thank you very much.
                                                      Qi Wang





More information about the Insight-users mailing list