[Insight-users] About Fltk

Karthik Krishnan Karthik.Krishnan at kitware.com
Mon Feb 13 12:55:38 EST 2006


Don't you have time.h in your compiler's include path ? Is it getting
included by Fl_Clock.cxx ?

There is an FLTK dashboard at
http://public.kitware.com/dashboard.php?name=fltk
which builds cvs FLTK.

That said, I have had no issues building FLTK 1.1.6 on VS71 or gcc40.

(Get the sources via SVN. Here is the websvn location:
http://svn.easysw.com/public/fltk/fltk/tags/branch-1.1_6/). Perhaps the
FLTK mailing list might help you better.

-karthik

王琪 wrote:

>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
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>  
>


More information about the Insight-users mailing list