[Insight-users] Build error with SNAP in InsightApplications-2.8.1
Martin M Connell
mconnel1 at staffmail.ed.ac.uk
Wed Sep 6 05:41:36 EDT 2006
I have found SNAP to be an interesting application and have modified a
previous
version (2.0.0) to store the 3d surface as an STL file using STLWriter in VTK.
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.
I have tried casting (gluTessCallback(tess,(GLenum) GLU_TESS_VERTEX,
(GLvoid(*)(void)) glVertex3dv) ) without success.
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
g
More information about the Insight-users
mailing list