Librealsense Examples
Hello, I am using Ubuntu 16 and experiencing an issue with librealsese example folder. I was able to run hello-realsense, but subsequent programs are not compiling. Initially I received an error concerning glfw3.h files which I added to /usr/include file to resolve the issue. Now when I attempt to compile this is the error output:
In file included from rs-capture.cpp:5:0:
example.hpp:90:42: fatal error: ../third-party/stb_easy_font.h: No such file or directory
compilation terminated.
How do I resolve this issue?
Thank you.
-
I'm sorry if my inquiry was unclear, but I was able to resolve the issue with the glfw3.h file, yet I have ran into a new error that I cannon resolve, with the corresponding error message. The stb_easy_font.h file that is the compiler cannot find is present in my computer. The issue may be the location of the file but honestly I have no idea where it should be moved.
-
My apologies, I saw your reference now to the resolution of the glfw3.h error.
I tracked down some advice on compilation given by Intel's RealSense SDK Manager to a user who had the same problem with stb_easy_font.h when trying to compile an example project.
-
I develop in the Unity game creation engine and have never actually compiled a RealSense project in Visual Studio myself, so a member of Intel's support team (or the team members on the GitHub forum you commented on) would be better able to provide guidance on that question (I am not an Intel employee).
You could try taking a step back from compiling the example projects and see if you can get working the Getting Started level project in the link below that does not rely on dependencies.
https://github.com/zivsha/librealsense/tree/getting_started_example/examples/getting-started
Please sign in to leave a comment.
Comments
6 comments