[vtkusers] FLTK and VTK on VC++

Cesar Rabak csrabak at yahoo.com.br
Fri Jun 24 20:23:36 EDT 2005


--- Hassan Amin <sha1 at doc.ic.ac.uk> escreveu

> >>I am a beginner at VTK.I am trying to use FLTK
> with
> >>VTK on VC++ .Net 
> >>platform. I am getting the following compilation
> >>error :
> >>C:\fltk_bin\FL\math.H(59): error C3861: 'floor':
> >>identifier not found, 
> >>even with argument-dependent lookup
> >>Please help me with this error. Has anybody tried
> to
> >>use MFC-VTK 
> >>combination on windows , is there any help
> available
> >>on that direction.
> >>
> >>S. Hassan Amin
> >		
> > >It seems FLTK includes in its 'math.h' the header
> file
> ><float.h>, but VC++ declares floor in its own
> <math.h>
> >header.
> >
> >Try to put #include <math.h> ahead of the FLTK
> include
> >files and see if the compilation goes.
> >
> >HTH

> >
> No , it did not work , here is the code that I am
> trying to compile on 
> VC++ .Net :-

> #include <math.h>
> #include <Fl_Window.H>
[snipped]


To understand in full: does your report "it did not
work" means "the same error message from compiler"?

--
Cesar Rabak

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 



More information about the vtkusers mailing list