Hello,
I would like to compile root with Cmake in order to use it with XCode, however, I am new to CMake and not sure how to fix its errors.
Here is the error I get after trying:
cmake /usr/local/root/src -DCMAKE_INSTALL_PREFIX=/usr/local/root/build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -Droofit=ON
----------------------------------------------------snip------------------------------------------------------------
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /usr/local/root/src/graf3d/eve
used as include directory in directory /usr/local/root/src/graf3d/eve
used as include directory in directory /usr/local/root/src/graf3d/gl
used as include directory in directory /usr/local/root/src/graf3d/gl
used as include directory in directory /usr/local/root/src/graf3d/glew
used as include directory in directory /usr/local/root/src/graf3d/ftgl
----------------------------------------------------snip------------------------------------------------------------
I am using os x 10.8.2 and as pre-requitsite installed:
$ brew install gfortran # Fortran compiler
$ brew install python # Python interpreter
$ brew install pcre # Regular Expressions library
$ brew install fftw # Fast Fourier Transforms
$ brew install cmake
Is there something else I need to install?
Thank you very much,
Dmitry.