[vtkusers] FLTK

Vinicius Gomes vinicius.vieira.gomes at gmail.com
Tue Jul 31 10:12:53 EDT 2007


Hi,
you may be using a 5.x version of VTK, and the problem is that vtkFLTK don't
work with VTK 5.x version. Try the vtkFlRenderWindowInteractor to connect
your VTK application with FLTK GUI (
http://cpbotha.net/software/vtkflrenderwindowinteractor).

On 7/31/07, Brian Gee Chacko <hebrev at gmail.com> wrote:
>
> 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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070731/89626fa0/attachment.htm>


More information about the vtkusers mailing list