[vtkusers] vktFLTK build errors (Mac OS X)
Marius S Giurgi
rendezvous at dreamxplosion.com
Mon Jan 31 13:31:49 EST 2005
Has anyone successfully compiled and use the vtkFLTK
(http://vtkfltk.sourceforge.net)?
I was trying to build the vtkFLTK bridge library on Mac OS X (10.3.7)
unsuccessfully, with the following errors:
Building object file CannyUI.o...
Building object file Canny.o...
Building object file CannyBase.o...
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx: In member
function `void
CannyBaseInternal::DeletePipeline(vtkRenderer*)':
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:184: warning:
`RemoveProp
' is deprecated (declared at
/Developer/VTK/Filtering/vtkViewport.h:226)
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:190: warning:
`RemoveProp
' is deprecated (declared at
/Developer/VTK/Filtering/vtkViewport.h:226)
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx: In member
function `int
CannyBaseInternal::InitializeActors(vtkRenderer*)':
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:219: warning:
`AddProp'
is deprecated (declared at /Developer/VTK/Filtering/vtkViewport.h:53)
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:367: warning:
invalid
conversion from `vtkImageData*' to `vtkStructuredPoints*'
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:367: warning:
initializing argument 1 of `void
vtkSubPixelPositionEdgels::SetGradMaps(vtkStructuredPoints*)'
/Developer/vtkFLTK-0.6.1/Examples/Canny/CannyBase.cxx:391: warning:
`AddProp'
is deprecated (declared at /Developer/VTK/Filtering/vtkViewport.h:53)
Building executable /Developer/vtkFLTK-0.6.1/vtkFLTK-build/bin/Canny...
ld: Undefined symbols:
_png_create_info_struct
_png_create_read_struct
_png_destroy_read_struct
_png_init_io
_png_read_end
_png_read_info
_png_read_rows
_png_set_expand
_png_set_interlace_handling
_png_set_packing
_png_set_strip_16
_jpeg_CreateDecompress
_jpeg_calc_output_dimensions
_jpeg_destroy_decompress
_jpeg_finish_decompress
_jpeg_read_header
_jpeg_read_scanlines
_jpeg_start_decompress
_jpeg_std_error
_jpeg_stdio_src
make[5]: *** [/Developer/vtkFLTK-0.6.1/vtkFLTK-build/bin/Canny] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Canny] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Examples] Error 2
make: *** [default_target] Error 2
I have the following installed:
cmake version 2.0.5
fltk version 1.1.6
vtk version CVS nightly build
I'm not sure whether this is a mac os x problem or not. Could someone
please give me an idea of how to fix this?
Also, what about the warnings (some classes being deprecated). Is this
because I use the latest (CVS) vtk version?
thanks,
marius
More information about the vtkusers
mailing list