To my big surprise the compilation did not get past the link stage. Unsatisfied 
extternal gluErrorString.
I had to add the library libGLU to common libs.

The next hurdle was the documentation. Here the file color-profiles.texi was 
not found.
The following patch cured it for me, but at least the line
   FIND_PACKAGE(GLU REQUIRED)
looks suspicious, since nobody else had it. I cannot check on other systems at 
the moment.

I will check later on ubuntu.

        Kornel
diff -r 2fe41e45549b CMakeLists.txt
--- a/CMakeLists.txt	Sun Jun 20 12:22:12 2010 +0200
+++ b/CMakeLists.txt	Mon Jul 26 15:50:35 2010 +0200
@@ -293,8 +293,9 @@
   ENDIF(APPLE)
 
   ADD_DEFINITIONS(-DHAVE_LIBGLEW)
+  FIND_PACKAGE(GLU REQUIRED)
   include_directories(${GLEW_INCLUDE_DIR} ${GLUT_INCLUDE_DIR})
-  LIST(APPEND common_libs ${GLEW_LIBRARIES} ${GLUT_LIBRARIES})
+  LIST(APPEND common_libs ${GLEW_LIBRARIES} ${GLUT_LIBRARIES} ${GLU_LIBRARY})
 ENDIF(ENABLE_GPU)
 
 IF(ENABLE_SSE2)
diff -r 2fe41e45549b doc/CMakeLists.txt
--- a/doc/CMakeLists.txt	Sun Jun 20 12:22:12 2010 +0200
+++ b/doc/CMakeLists.txt	Mon Jul 26 15:50:35 2010 +0200
@@ -244,7 +244,7 @@
 set(_auxdepends)
 foreach(_f auxmac.texi auxmac.tex workflow.texi filespec.texi mask-template-characters.texi
     understanding-masks.texi tuning-memory-usage.texi helpful-programs.texi bug-reports.texi
-    authors.texi fdl.texi)
+    authors.texi fdl.texi color-profiles.texi)
   add_custom_command(
     OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${_f}"
     COMMAND ${CMAKE_COMMAND} -E copy "${TOP_SRC_DIR}/doc/${_f}" "${CMAKE_CURRENT_BINARY_DIR}/${_f}"

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to