To set up a new Visual Studio project:
- Create new Visual C++ project
- Go to View > Other Windows > Property Manager
- Click on "Add Existing Property Sheet" icon
- Navigate to "C:\Program Files (x86)\Intel RealSense SDK 2.0"
- Add
intel.realsense.props
- You can now add
#include <librealsense2/rs.h>
and start working
C/C++ - 일반 - 추가 포함 디렉터리
$(ProgramFiles)\Intel RealSense SDK 2.0\include
링커 - 일반 - 추가 라이브러리 디렉터리
$(ProgramFiles)\Intel RealSense SDK 2.0\lib\$(PlatformShortName)
링커 - 입력 - 추가 종속성
realsense2.lib