-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
this repo cannot compile with new sdk
Steps to Reproduce
- Install ZED SDK 4.0
- git clone https://github.com/stereolabs/zed-pcl.git
- cd zed-pcl && mkdir build && cd build && cmake .. && make
Expected Result
successful compilation
Actual Result
Scanning dependencies of target ZED_with_PCL
[ 50%] Building CXX object CMakeFiles/ZED_with_PCL.dir/src/main.cpp.o
/home/ubuntu/zed-pcl/src/main.cpp: In function ‘void run()’:
/home/ubuntu/zed-pcl/src/main.cpp:163:22: error: ‘SENSING_MODE’ has not been declared
163 | if (zed.grab(SENSING_MODE::STANDARD) == ERROR_CODE::SUCCESS) {
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/ZED_with_PCL.dir/build.make:82: CMakeFiles/ZED_with_PCL.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/ZED_with_PCL.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
ZED Camera model
ZED2i
Environment
OS: 20.04
GPU: RTX 3070
Anything else?
No response