Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[glfw] CMake "Could NOT find OpenGL" #602

Closed
helmesjo opened this issue Jan 4, 2019 · 1 comment
Closed

[glfw] CMake "Could NOT find OpenGL" #602

helmesjo opened this issue Jan 4, 2019 · 1 comment
Labels

Comments

@helmesjo
Copy link

helmesjo commented Jan 4, 2019

From my understanding, the conan-glfw package should be enough to get required OpenGL headers and libraries (eg. the libgl1-mesa-dev package, which I can see is installed). However CMake still fails to find OpenGL.
I've added glfw/3.2.1 as a build requirement. Am I missing something very obvious, or is there something wrong with the package?

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: glfw/3.2.1
  • Operating System+version: Linux Ubuntu 16.04
  • Compiler+version: gcc-5
  • Docker image: conanio/gcc5
  • Conan version: conan 1.11.0
  • Python version: Python 3.7.0

Logs (Include/Attach if Applicable)

CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY)
@helmesjo helmesjo added the bug label Jan 4, 2019
@helmesjo helmesjo changed the title [conan-glfw] CMake can NOT find OpenGL [glfw] CMake can NOT find OpenGL Jan 4, 2019
@helmesjo helmesjo changed the title [glfw] CMake can NOT find OpenGL [glfw] CMake "Could NOT find OpenGL" Jan 4, 2019
@helmesjo
Copy link
Author

helmesjo commented Jan 5, 2019

I opted for building natively instead (no cross compiling from x64 to x86), since there where too many issues revolving around OpenGL and cross compiling.
See example here.

@helmesjo helmesjo closed this as completed Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant