<div dir="ltr"><div><div><div><div>Hi Owen,<br><br></div>the find module which comes with CMake is called FindOpenGL, and is supposed to be used as:<br><br></div>find_package(OpenGL ...)<br><br></div>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.<br><br></div>Petr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 2:11 PM, Owen Alanzo Hogarth <span dir="ltr"><<a href="mailto:gurenchan@gmail.com" target="_blank">gurenchan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just ran into some difficulties.<div><br></div><div>I migrated a development system to debian 8.</div><div><br></div><div>I had a project on mac os x that built w/ no problems now I am running my cmake but I get this error:</div><div><div><br></div></div><div><div>CMake Error at CMakeLists.txt:4 (FIND_PACKAGE):</div><div>  By not providing "FindOPENGL.cmake" in CMAKE_MODULE_PATH this project has</div><div>  asked CMake to find a package configuration file provided by "OPENGL", but</div><div>  CMake did not find one.</div><div><br></div><div>  Could not find a package configuration file provided by "OPENGL" with any</div><div>  of the following names:</div><div><br></div><div>    OPENGLConfig.cmake</div><div>    opengl-config.cmake</div><div><br></div><div>  Add the installation prefix of "OPENGL" to CMAKE_PREFIX_PATH or set</div><div>  "OPENGL_DIR" to a directory containing one of the above files.  If "OPENGL"</div><div>  provides a separate development package or SDK, be sure it has been</div><div>  installed.</div><div><br></div><div><br></div><div>-- Configuring incomplete, errors occurred!</div></div><div><br></div><div>now it seems finding opengl was a deffault config file on mac os x but not so on linux.</div><div><br></div><div>I have cmake 3.0.2-1 installed.</div><div><br></div></div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div><br></div>