[Insight-users] Build error with SNAP in InsightApplications-2.8.1
Martin M Connell
mconnel1 at staffmail.ed.ac.uk
Tue Sep 5 12:23:20 EDT 2006
The following error is generated when trying to compile the SNAP application
in InsightApplications-2.8.1.
The compiler is gcc version 3.3.2 with fltk-1.1.6 and VTK4.4 on Solaris 8.
Can anyone suggest a solution to this problem?
Martin Connell
*******************************************************************************
Building CXX object
SNAP/CMakeFiles/itksnapui.dir/UserInterface/SliceWindow/PolygonScanConvert.o
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:
In
static member function `static void
PolygonScanConvertBase::RasterizeFilled(double*, unsigned int,
unsigned int,
unsigned int, unsigned int, void*)':
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:49:
error:
invalid
conversion from `void (*)()' to `GLvoid (*)(...)'
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:50:
error:
invalid
conversion from `void (*)()' to `GLvoid (*)(...)'
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:51:
error:
invalid
conversion from `void (*)()' to `GLvoid (*)(...)'
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:53:
error:
invalid
conversion from `void (*)()' to `GLvoid (*)(...)'
/image6/itk/InsightApplications-2.8.1/SNAP/UserInterface/SliceWindow/PolygonScanConvert.cxx:55:
error:
invalid
conversion from `void (*)()' to `GLvoid (*)(...)'
gmake[2]: ***
[SNAP/CMakeFiles/itksnapui.dir/UserInterface/SliceWindow/PolygonScanConvert.o]
Error 1
gmake[1]: *** [SNAP/CMakeFiles/itksnapui.dir/all] Error 2
More information about the Insight-users
mailing list