-
Notifications
You must be signed in to change notification settings - Fork 452
Closed
Milestone
Description
I'm writing a conan recipe for Magnum (already got one for Corrade successfully building). I've wrestled a few days now with these issues (each try takes a lot of time) so I'd thought I'd look for some help/ideas here!
Issue
I'm building conan packages for GCC, Clang (etc.) inside docker containers.
In the conan recipe, prior to building magnum, it installs libgl1-mesa-dev
(or libgl1-mesa-dev:i386
respectively) on the host. But when later building, it either:
- Fails to find OpenGL libs when targeting x86 (for all builds on Ubuntu) if only installing
libgl1-mesa-dev:i386
:Above can be fixed* (for all but Ubuntu Trusty) by installing bothCMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY)
libgl1-mesa-dev
&libgl1-mesa-dev:i386
(in that order, else 1. happens again), but then it: - fails to link OpenGL (
error adding symbols: File in wrong format
) on Ubuntu Bionic & Cosmic when targeting x86 (it appears link the 64bit lib).
*There are a lot of issues with multiple mesa-dev packages on the same host.
Details:
- CMake 3.12
- Ubuntu x64: Trusty (GCC 4.9), Xenial (GCC 5), Artful (GCC 6 & 7, Clang 3.9. 4, 5), Bionic (GCC 8, Clang 6), Cosmic (Clang 7) (using the conan docker images)
So, any ideas? Anyone seen similar issues? Am I missing something obvious?
Joaqim and Janos95mosra and Janos95
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done