[vtkusers] FLTK

Brian Gee Chacko hebrev at gmail.com
Tue Jul 31 03:41:23 EDT 2007


Hi,
i was just trying out to use a Graphics User Interface (GUI) for VTK and i
found that vtkFLTK would be sufficient for using simple GUI for my
applications. I tried to follow the instructions on

*http://vtkfltk.sourceforge.net/Building.html*

, after which i got some errors. For instance

(1) While trying to builf fltk seperately the following error displays

Linking...
LINK : fatal error LNK1104: cannot open file "fltk_zlib.lib"
Error executing link.exe.

ALL_BUILD - 1 error(s), 0 warning(s)

(2) While trying to build vtkFLTK the following error message gets displayed

Compiling...
Fl_VTK_Window.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
vtkFLTKObjectFactory.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
vtkFLTKOpenGLRenderWindow.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
vtkFLTKRenderWindowInteractor.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
vtkFLTKInstantiator.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
vtkFLTKInstantiator0.cxx
D:\vtkFLTK-0.6.1\vtkFLTK-Build\vtkFLTKConfigure.h(59) : fatal error C1021:
invalid preprocessor command 'warning'
Generating Code...
Error executing cl.exe.
ALL_BUILD - 6 error(s), 0 warning(s)


How do i go about this, just to create a simple application with VTK using
the FLTK interface? Is there any separate tutorial for this available?

Regards,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070731/c8a413f0/attachment.htm>


More information about the vtkusers mailing list