librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

RealSense SDK 2.x installer does not include realsense2Config.cmake

Open UnaNancyOwen opened this issue 8 years ago • 6 comments

RealSense SDK 2.x installer (Intel.RealSense.SDK.exe) does not include realsense2Config.cmake. Why does not includ config file in installer?

Required Info
Camera Model SR300 / D400
Operating System & Version Windows
SDK Version All Release of RealSense SDK 2.x

Thanks,

UnaNancyOwen avatar Jan 15 '18 15:01 UnaNancyOwen

Yes, it would make sense to have it in the installer. The reason it was not bundled is simply because the installer was not really designed with CMake integration in mind. We offer Visual Studio props file to help configure C++ projects.

dorodnic avatar Jan 15 '18 17:01 dorodnic

I want to use CMake to generate Visual C++ project. It is able to build user projects using same way in cross-platform. I think it is very modern way. Please consider bundling the config file (realsense2Config.cmake) with installer. Thanks,

UnaNancyOwen avatar Jan 16 '18 04:01 UnaNancyOwen

Where are the prop pages for the librealsense 2.10.0? Also, do I have to build the libraries from the source code to compile and run the examples?

ecarlsruh avatar Feb 26 '18 17:02 ecarlsruh

[Realsense Customer Engineering Team Comment] @ecarlsruh Please find v2.10.0 in https://github.com/IntelRealSense/librealsense/releases If you use windows system, you can install Intel.RealSense.SDK.exe to run the examples.

[Realsense Customer Engineering Team Comment] @UnaNancyOwen Would like to know if you still need help on this question.

Was this actually resolved @dorodnic ? I can't seem to find this file https://github.com/IntelRealSense/librealsense/blob/master/CMake/realsense2Config.cmake.in (without the .in suffix of course) after having installed the SDK on Windows.

Visual Studio 2019 has good out-of-the-box support for CMake now which makes it even more interesting then before as a cross-platform build tool.

dbolkensteyn avatar Aug 02 '20 19:08 dbolkensteyn