zed-sdk
zed-sdk copied to clipboard
build error in "depth sensing/automatic region of interest/cpp"
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
- [X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
The following C++ sample code from the ZED SDK could not be built
depth sensing/automatic region of interest/cpp`
Steps to Reproduce
-
git clone [email protected]:stereolabs/zed-sdk.git
-
cd "depth sensing/automatic region of interest/cpp"
-
mkdir build
-
cd build
-
cmake ../CMakeLists.txt
-
make
...
Expected Result
make
should be successful.
Actual Result
someone@someone-orin:~/github/zed-sdk/depth sensing/automatic region of interest/cpp/build$ make
[ 50%] Building CXX object CMakeFiles/ZED_Auto_Sensing_ROI.dir/src/main.cpp.o
/home/someone/github/zed-sdk/depth sensing/automatic region of interest/cpp/src/main.cpp: In function ‘int main(int, char**)’:
/home/someone/github/zed-sdk/depth sensing/automatic region of interest/cpp/src/main.cpp:88:15: error: ‘struct sl::RegionOfInterestParameters’ has no member named ‘auto_apply’
88 | roi_param.auto_apply = true;
| ^~~~~~~~~~
make[2]: *** [CMakeFiles/ZED_Auto_Sensing_ROI.dir/build.make:76: CMakeFiles/ZED_Auto_Sensing_ROI.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ZED_Auto_Sensing_ROI.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
ZED Camera model
ZED2i
Environment
OS: Ubuntu 20.04 LTS
CPU: ARM
GPU: Nvidia Jetson AGX orin
ZED SDK version: 4.1.1
Other info: JetPack 5.1, python3.8.10
Anything else?
No response