vcpkg compiles RTabMap project, but without RealSense2 support
I'm trying to compile RTabMap on Windows 10, using vcpkg.
It compiles RTabMap project, but without RealSense2 support.
The comand sequense is this:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
vcpkg install realsense2[core] --triplet x64-windows --clean-after-build
vcpkg integrate install
vcpkg install rtabmap --triplet x64-windows --clean-after-build
Is necessary particular options o other commands.
Thank you!
You have to build rtabmap with realsense2 option:
vcpkg install rtabmap[realsense2] --triplet x64-windows --clean-after-build
Grazie Matlabbe, but unfortunately, if I use this option, it gives me this error and does not proceed.
G:\RTM\vcpkg>vcpkg install rtabmap[realsense2] --triplet x64-windows --clean-after-build Computing installation plan... realsense2 has no feature named tm2. note: updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
tm2 option has been removed from realsense2 dependency, update rtabmap's vcpkg.conf with those changes:
diff --git a/ports/rtabmap/vcpkg.json b/ports/rtabmap/vcpkg.json
index ecbc94570..fea10af24 100644
--- a/ports/rtabmap/vcpkg.json
+++ b/ports/rtabmap/vcpkg.json
@@ -117,13 +117,7 @@
"realsense2": {
"description": "Build RTAB-Map with RealSense2 camera driver",
"dependencies": [
- {
- "name": "realsense2",
- "default-features": false,
- "features": [
- "tm2"
- ]
- }
+ "realsense2"
]
},
"tools": {
thanks, i try it