-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Build without glfw3 #32
Comments
The core librealsense library does not depend on or link against glfw. Several projects (c/cpp-tutorial-1 and cpp-headless) specifically do not include glfw3 for the reason you list above. Hope that helps? |
Alright, sounds great. That's the most important part. Is there also a way to build without having glfw3 installed using the makefile? |
Good question. The makefile would require a boolean flag similar to the backend selection so that it would only compile the examples that do not need glfw. This would require enumerating the .c/.cpp files exactly (like cpp-headless.cpp instead of the current wildcard *.cpp), which is slightly harder to maintain. This probably won't be on our roadmap right away (for headless systems we've been fine manually editing the makefile), but would accept a pull request if you were to make and test the relevant changes. All told, should be about ~10 lines of addition to the makefile. |
Cool. Thanks for a quick answer. Just have to say after using the Windows SDK, a download of a few GBs anda bit bloated. I'm super impressed by this software. <3 |
For future reference: It is already possible by simply issuing
|
…mplates Create default templates for Issues and PRs
Merge IntelRealSense/librealsense/development to abernste/librealsense/development
…_integration fix CAMOE-99 bug: server is stopped after minute
…igh temperature
It would be awesome to be able to run without glfw3 as I don't care about builtin visualizations. It would be great if that was more put inside examples or such.
The text was updated successfully, but these errors were encountered: