> Apparently CMake cannot find the headers for openGL and/or GLU
> ...
> I would expect cmake to be smart enough to find the glu
> header file, since it finds the VCExpress.exe.

Hi Marianne,

Did you do anything to make cm guess that you want to inclulde GLU headers ? 
Dunno the detais of your project, but you should have these few lines somewhere 
:

******************** somepath/CMakeLists.txt
...
INCLUDE(FindGLUT)
IF(GLUT_FOUND)
  #MESSAGE(STATUS  "GLUT found...")
  #MESSAGE("opengl include directory : ${GLUT_INCLUDE_DIR}")
  #MESSAGE("opengl library directory : ${GLUT_LIBRARY}")
  INCLUDE_DIRECTORIES(${GLUT_INCLUDE_DIR}/Headers)
  LINK_LIBRARIES(${GLUT_LIBRARY})
ELSE(GLUT_FOUND)
  MESSAGE(FATAL_ERROR "GLUT not found")
ENDIF(GLUT_FOUND)
...

See *cmakepath*/share/cmake-2.x/Modules/FindGLUT.cmake for more informations 
about the way cmake will search for glut.

Cordially,

Tonio




      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to