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

Tips on building on MacOS? #72

Open
r00k opened this issue Apr 14, 2018 · 5 comments
Open

Tips on building on MacOS? #72

r00k opened this issue Apr 14, 2018 · 5 comments

Comments

@r00k
Copy link

r00k commented Apr 14, 2018

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!

@sadjad
Copy link
Member

sadjad commented Apr 14, 2018

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:

  1. 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).

  2. 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

@r00k
Copy link
Author

r00k commented Apr 15, 2018

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.

@necnecnec
Copy link

Hi @sadjad ,
I want to run the program on windows.how can I do this?I really want your some suggestions.

@sparkmorry
Copy link

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

@viksyy
Copy link

viksyy commented May 7, 2020

Did you find some solution for Mac building?

@sadjad @sparkmorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants