[Insight-users] Errors building SOViewer

Neil Gajare nerajag at gmail.com
Wed Jun 6 16:28:30 EDT 2007


Hello,

I am using ITK and am attempting to build SOViewer on a computer
running Mac OS 10.4.9.  I have successfully built ITK, FLTK, VTK and
Qt v.4 is already installed on the computer.

I am trying to build with "VTK ON", "Qt ON", and "FLTK ON."  The CMAKE
process executes without any errors.  However, upon building SOViewer
with the make command, the following error immediately comes up.

[  1%] Building CXX object CMakeFiles/SOViewer.dir/Display/Fltk/sovFlGlDisplay.o
/Users/neil/SOViewer/Display/Fltk/sovFlGlDisplay.cxx:21:20: error:
GL/glu.h: No such file or directory
/Users/neil/SOViewer/Display/Fltk/sovFlGlDisplay.cxx: In member
function 'virtual void sov::FlGlDisplay::draw()':
/Users/neil/SOViewer/Display/Fltk/sovFlGlDisplay.cxx:88: error:
'gluOrtho2D' was not declared in this scope
make[2]: *** [CMakeFiles/SOViewer.dir/Display/Fltk/sovFlGlDisplay.o] Error 1
make[1]: *** [CMakeFiles/SOViewer.dir/all] Error 2
make: *** [all] Error 2

I checked, and the OpenGL framework on the computer contains the
header file glu.h, but the building process appears unable to find it.
 Moreover, the OpenGL framework path is correctly specified.

Does anyone have an idea what is going on here?

Thanks,

Neil Gajare


More information about the Insight-users mailing list