Hi again, I checked our CMake script and noticed a missing condition that should check for MITK_USE_GLUT. I just added it and pushed a minute ago.
Best, Stefan -----Ursprüngliche Nachricht----- Von: Kislinskiy, Stefan [mailto:[email protected]] Gesendet: Mittwoch, 9. Oktober 2013 11:18 An: Miklos Espak; mitk-users Betreff: Re: [mitk-users] GLUT does not build on Mac Hi Miklos, I temporarily deactivated building GLUT (freeglut) on Mac yesterday with commit 2e582ada until this issue will be fixed. There is a line like "if(MITK_USE_SOFA AND APPLE)" in the toplevel CMakeLists.txt that is supposed to catch this case. In SuperBuild.cmake MITK_USE_GLUT is only if MITK_USE_SOFA was set. So I guess your error can be solved by reconfiguring the superbuild? Best, Stefan ________________________________________ Von: Miklos Espak [[email protected]] Gesendet: Dienstag, 8. Oktober 2013 21:05 An: mitk-users Betreff: Re: [mitk-users] GLUT does not build on Mac I was wrong, I reset the repository to 78619fb3866fede0548894d9a8ebb646c0ba7c1d that is still OK. The problem came with the next commit (d37eaa81737cc64ed968b7d29cab18e7be8fab65), probably. On 8 October 2013 19:58, Miklos Espak <[email protected]<mailto:[email protected]>> wrote: Hi, I tried to build the current MITK master on mac and it failed at building GLUT. I guess the error came with this commit from today: fee89cab1674eb622040b20013de2ee47bbd3e9e The error: Scanning dependencies of target freeglut [ 4%] Building C object CMakeFiles/freeglut.dir/src/freeglut_cursor.c.o In file included from /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_cursor.c:29: /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_internal.h:108:24: error: GL/glx.h: No such file or directory /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_internal.h:109:26: error: X11/Xlib.h: No such file or directory /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_internal.h:110:27: error: X11/Xatom.h: No such file or directory /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_internal.h:111:28: error: X11/keysym.h: No such file or directory /Users/espakm/src/mitk-debug/GLUT-src/src/freeglut_internal.h:112:39: error: X11/extensions/XInput.h: No such file or directory ..... The headers do exist on my system, e.g. under /opt/X11/include. Resetting to the previous commit solved the problem. Can it be a cmake problem? I use 2.8.10. Cheers, Miklos ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
