Thank you for your interest in the Intel RealSense Technology.
Could you please confirm if you have downloaded the source code for the SDK or if you have installed the binaries?
Just as a short definition, binary releases contain computer readable version of the application, meaning it is compiled. Source releases contain human readable version of the application, meaning it has to be compiled before it can be used. The source release is the raw, un-compiled code.
You can follow the below instructions in order to build from source RealSense SDK 2.0 (Librealsense ) on a Windows 10 machine and run the given examples on Visual Studio 2017.
After you have download the source code for the SDK you can run the CMake GUI as shown in the OpenCV wrapper readme.md. here:https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv
- Download and install CMAKE
- Clone or download RealSense SDK 2.0 sources into a local directory (C:/git/librealsense)
- Run cmake-gui and fill source code and binaries locations and press Configure
- Where is the source code: C:/git/librealsense
- Where to build the binaries: C:/git/librealsense/build
- Click Generate and Open Project
- Locate the examples required under Example solution folder
- Right-click on one of the examples to Set as StartUp Project
- Press F5 to compile and run the example
This could be a solution to the "Identifier Undefined" you are receiving.
Let me know if this works.
I am pretty sure I did exactly as you wrote.
Here are the steps I took: GitHub - HippoEug/Intel-Realsense-D435-CMake with still those errors. Even though there are errors, it still managed to compile fine..
If the code compiles and runs fine and you are comfortable with the results this should be OK.
Let me know if you require any further assistance.