Tips on building on MacOS?
Hi!
Thanks for publishing this impressive project (and a very clear and readable paper).
I have a dream: to get this project compiling/running on MacOS.
Any chance you have any pointers or suggestions as I get started? Is this a semi-feasible goal?
Thanks!
Hi @r00k,
Thank you for taking the time to reach out. It should be totally possible. I can think of changes that are necessary in two categories:
-
Things related to
display. Salsify uses GLFW3, which is available on macOS. I don't think much code change is necessary, just a matter of figuring out the right set of compilation flags (take a look at this). -
To read the images from the camera, Salsify uses V4L2 (check out
camera.hh), which I don't think is available on macOS. All that is necessary is a new implementation of the Camera class (same interface) that uses macOS API to read the frames.
There could be some other minor changes here and there, but nothing too difficult, I hope.
Please don't hesitate to contact us with any questions!
–Sadjad
Thanks so much for the helpful reply, @sadjad! I really appreciate it :).
I'm learning C++ as I go, so I expect it'll be slow going, but I'm going to start chipping away at this.
I'll report back with my progress/reach out if I get stuck.
Hi @sadjad , I want to run the program on windows.how can I do this?I really want your some suggestions.
I'm trying to build it on MaxOS, and got an "No package 'gl' found" error. I searched and found GL is a framework rather than library on Mac: https://stackoverflow.com/questions/29457534/cmake-on-osx-yosemite-10-10-3-glew-package-gl-not-found can you change the configure in the project? @sadjad
Did you find some solution for Mac building?
@sadjad @sparkmorry