Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‘SENSING_MODE’ has not been declared #13

Open
2 tasks done
celikemir opened this issue Nov 6, 2023 · 0 comments
Open
2 tasks done

‘SENSING_MODE’ has not been declared #13

celikemir opened this issue Nov 6, 2023 · 0 comments
Labels

Comments

@celikemir
Copy link

celikemir commented Nov 6, 2023

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

  1. Install ZED SDK 4.0
  2. git clone https://github.com/stereolabs/zed-pcl.git
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant