-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support OSX builds #1
Comments
It is worth noting that the requirements and installation process inside of this repository are almost identical and could be used to structure another attempt |
Some more detailed failure logs. A docker container was created on an OSX machine running xQuartz The app failed on startup with:
When executing programs that required a GLX configuration the following issue was returned by any binaries that relied on Magnum and GLX IE An attempt was made to enable Indirect GLX forwarding to but this did not resolve the issue. The apps inside of At the same time with the same docker container with a
In both cases the GLX visual from code compiled with Magnum cannot identify a GLX visual. Extra details (gl-info): |
Just randomly landed here -- on a Mac, Sdl2Application shouldn't need GLX or anything X11-related, it uses the native APIs. That holds for magnum installed from Homebrew as well, |
Thanks for taking a look ;) The original issue, as I understand now, is just from the fact that magnum-integration is not by default compiled the IMGUI flag. This could be resolved by producing a separate package that handles the The real issue is just how much time I have :) |
ImGui in Homebrew is one of my TODOs for 2020.02: mosra/magnum#411 Will ping you back when that's done. |
Hi, as of mosra/magnum-integration@03f3257, mosra/homebrew-magnum@7fd472b and mosra/magnum-integration@af5e7ed, both the Homebrew and the AUR packages have ImGui bundled, in order to use it from your app you need to update This also means your |
Hi @mosra, no problem. I am going to give remove I've also moved migrated the whole frontend into a emscripten application anyway, so OSX support means something totally different now anyways. |
An experimental build of monopticon was attempted on OSX with mixed results and no final binary.
The following dependencies were installed following the magnum's project recommendations
These are not all of the dependencies because
monopticon
also depends onImGui
and integrated libraries that must be specifically compiled and linked withinmagnum-integration
.The imgui headers and files were placed on the system at
/usr/local/include/imgui
.The homebrew
tap
ofmagnum-integration
was modified with some extra arguments forcmake
and then rebuilt and installed. This build encountered errors related to linking against system functions within OSX. Specifcallyldd
failed. The error is reported below.This issue was resolved by manually modifying the
link.txt
of the CMake targetImGuiIntegration
with the following parameters:-framework CoreFoundation -framework ApplicationServices
which allowed the build of magnum-integration to finish. Immediately after acmake install
was executed.Unfortunately, the subsequent preparation to build from within
monopticon
could not findMagnumIntegration
which included the compiledImGuiIntegration
and as a result the attempt was abandoned.The text was updated successfully, but these errors were encountered: