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

Build without glfw3 #32

Closed
vidstige opened this issue Feb 16, 2016 · 5 comments
Closed

Build without glfw3 #32

vidstige opened this issue Feb 16, 2016 · 5 comments
Labels

Comments

@vidstige
Copy link
Contributor

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.

@ddiakopoulos
Copy link
Contributor

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?

@vidstige
Copy link
Contributor Author

Alright, sounds great. That's the most important part. Is there also a way to build without having glfw3 installed using the makefile?

@ddiakopoulos
Copy link
Contributor

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.

@vidstige
Copy link
Contributor Author

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

@vidstige
Copy link
Contributor Author

For future reference: It is already possible by simply issuing

make library

furushchev pushed a commit to furushchev/librealsense that referenced this issue Jul 17, 2016
…mplates

Create default templates for Issues and PRs
dorodnic pushed a commit that referenced this issue Oct 28, 2018
Merge IntelRealSense/librealsense/development to abernste/librealsense/development
nhershko added a commit to nhershko/librealsense that referenced this issue Feb 23, 2020
…_integration

fix CAMOE-99 bug: server is stopped after minute
aangerma pushed a commit to aangerma/librealsense that referenced this issue Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants