That was definitely the problem. I had the wrong case.... This is something.
One more question. Now I am getting a error: loop initial declarations are only allowed in C99 it's great that the compiler is watching out for me but I do want to stick to the C99 standard. All my code is formatted that way, how can I set it so that cmake passes that flag for this whole project? Do I have to add something to each CMakeLists.txt? On Tue, Nov 3, 2015 at 9:34 PM, Petr Kmoch <petr.km...@gmail.com> wrote: > Hi Owen, > > the find module which comes with CMake is called FindOpenGL, and is > supposed to be used as: > > find_package(OpenGL ...) > > Note the case. From the error messages, it seems you're calling > find_package(OPENGL). This could work on a case-insensitive system (which I > believe Mac OS X uses by default), but would definitely not work on a > case-sensitive one such as normal Linux filesystems. > > Petr > > On Tue, Nov 3, 2015 at 2:11 PM, Owen Alanzo Hogarth <gurenc...@gmail.com> > wrote: > >> I just ran into some difficulties. >> >> I migrated a development system to debian 8. >> >> I had a project on mac os x that built w/ no problems now I am running my >> cmake but I get this error: >> >> CMake Error at CMakeLists.txt:4 (FIND_PACKAGE): >> By not providing "FindOPENGL.cmake" in CMAKE_MODULE_PATH this project >> has >> asked CMake to find a package configuration file provided by "OPENGL", >> but >> CMake did not find one. >> >> Could not find a package configuration file provided by "OPENGL" with >> any >> of the following names: >> >> OPENGLConfig.cmake >> opengl-config.cmake >> >> Add the installation prefix of "OPENGL" to CMAKE_PREFIX_PATH or set >> "OPENGL_DIR" to a directory containing one of the above files. If >> "OPENGL" >> provides a separate development package or SDK, be sure it has been >> installed. >> >> >> -- Configuring incomplete, errors occurred! >> >> now it seems finding opengl was a deffault config file on mac os x but >> not so on linux. >> >> I have cmake 3.0.2-1 installed. >> >> >> -- >> >> Powered by www.kitware.com >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Kitware offers various services to support the CMake community. For more >> information on each offering, please visit: >> >> CMake Support: http://cmake.org/cmake/help/support.html >> CMake Consulting: http://cmake.org/cmake/help/consulting.html >> CMake Training Courses: http://cmake.org/cmake/help/training.html >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/cmake >> > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake