View my account

Including Realsense SDK into my own C++ Project

Comments

1 comment

  • MartyG

    Hi Lukas Rauch - welcome to the RealSense community  :)

    If you are new to developing C++ RealSense applications then the easiest way to integrate RealSense into your own project may be to use Windows and Visual Studio with three props files (configuration 'property sheets') packaged with the RealSense SDK software.

    If the full Windows version of the RealSense SDK software is installed then the props files can be found in the SDK folder.

     

     

    The full RealSense SDK can be installed on Windows by going to the SDK Releases page, scrolling down to the 'Assets' file list for a particular SDK version and clicking on the Intel.RealSense.SDK-WIN10 link to download an automated installer program that will install the SDK when run simply by clicking the 'Next' button a few times during installation.

    https://github.com/IntelRealSense/librealsense/releases

     

     

    Once the SDK is installed and you can access the three props files in the SDK folder, the link below has a C++ Visual Studio tutorial shared by a RealSense user for creating a starter project using the props files.

    https://github.com/EduardoWang/visual-studio-real-sense-record-and-playback-project

     

    **********

     

    If you would prefer to use CMake to build the RealSense SDK and applications then you can certainly use that approach instead, with Windows and Linux computers.

    The link below has a simple C++ starter-project tutorial for using CMake to build a simple application that only integrates the RealSense SDK and not additional third-party dependencies.

    https://github.com/zivsha/librealsense/tree/getting_started_example/examples/getting-started

     

    It is also well worth using the RealSense Viewer application to learn RealSense and then integrate the functions in the Viewer into your own C++ application using code, as the Viewer is a powerful pre-made menu-driven tool with many functions that is also easy to use.

    0
    Comment actions Permalink

Please sign in to leave a comment.