- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have an Ubuntu 16.04 OS with R200 cam.
I'm trying to develop a person tracking and base my code on the pt_tutorial_3 sample.
I saw that the samples from the SDK are all based on Cmake compile mechanism linking the headers in the /usr path.
When I try to import the headers manually to my project (include the files with full path) I get an error in compilation saying the header is not recognized.
Can I compile and build my app without Cmake?
How can I link the headers in my project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YanivSheffer,
Thanks for reaching out!
Since you are on Ubuntu, I'll assume you are using librealsense, in case you are not, please correct me.
As you can see in https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md librealsense employs CMake as a cross-platform build and project management system. Therefore it is required to compile and build apps.
Regarding the error with the header files that you are getting, could you please share the error message? It would be of great help for us.
I will be waiting for your response.
Pedro M.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello YanivSheffer,
Thanks for reaching out!
Since you are on Ubuntu, I'll assume you are using librealsense, in case you are not, please correct me.
As you can see in https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md librealsense employs CMake as a cross-platform build and project management system. Therefore it is required to compile and build apps.
Regarding the error with the header files that you are getting, could you please share the error message? It would be of great help for us.
I will be waiting for your response.
Pedro M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the heads up Pedro.
I managed to write a CMakeLists.txt file to link, compile and build my app. I based it on the CMakeLists.txt file from the pt_tutorial_3 example.
In addition, by using CodeLite IDE, I managed to configure the build mechanism to match the Cmake settings and was able to build it from the IDE as well.
Cheers Yaniv
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page