Re: [Insight-users] Errors building SOViewer

Tomáš Kazmar Tomash.Kazmar at seznam.cz
Wed Jun 6 17:05:47 EDT 2007


Hi Neil,

  try building with verbose make. Turn CMAKE_VERBOSE_MAKEFILE on
in cmake configuration and run make. This way it will be clear which
directories are included and which not.


Regards,
Tomas


# 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
# _______________________________________________
# Insight-users mailing list
# Insight-users at itk.org
# http://www.itk.org/mailman/listinfo/insight-users
# 
# 
# 


More information about the Insight-users mailing list