# Can't run C++ zed examples with fresh Jetpack 5.0 installation through sdk manager

**URL:** <https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741>\
**Category:** C++\
**Created:** [November 4, 2022, 6:15pm UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741 "2022-11-04T18:15:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pliniovb](https://community.stereolabs.com/user_avatar/community.stereolabs.com/pliniovb/32/819_2.png) [@pliniovb](https://community.stereolabs.com/u/pliniovb)\
**Post date:** [November 4, 2022, 6:15pm UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741/1 "2022-11-04T18:15:47Z")

</div>

Hi, I have a ZED 2i with a zed box module(Jetson Xavier NX, dev kit), and I was capable of running examples before this update. Was running ubuntu 18.04 before and prob jetpack 4.x, now after installing jetpack 5.0 and ubuntu 20.04 can’t run any example.

this is what happens after “cmake …” in created build dir for any example or even the codes that I wrote:  
– The C compiler identification is GNU 9.4.0  
– The CXX compiler identification is GNU 9.4.0  
– Check for working C compiler: /usr/bin/cc  
– Check for working C compiler: /usr/bin/cc – works  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Detecting C compile features  
– Detecting C compile features - done  
– Check for working CXX compiler: /usr/bin/c++  
– Check for working CXX compiler: /usr/bin/c++ – works  
– Detecting CXX compiler ABI info  
– Detecting CXX compiler ABI info - done  
– Detecting CXX compile features  
– Detecting CXX compile features - done  
CMake Error at CMakeLists.txt:16 (find\_package):  
By not providing “FindZED.cmake” in CMAKE\_MODULE\_PATH this project has  
asked CMake to find a package configuration file provided by “ZED”, but  
CMake did not find one.

Could not find a package configuration file provided by “ZED” (requested  
version 3) with any of the following names:

```
ZEDConfig.cmake
zed-config.cmake

```

Add the installation prefix of “ZED” to CMAKE\_PREFIX\_PATH or set “ZED\_DIR”  
to a directory containing one of the above files. If “ZED” provides a  
separate development package or SDK, be sure it has been installed.

– Configuring incomplete, errors occurred!  
See also “/home/zed/Documents/RAVAOR/Me/cpp/OpenCamera/build/CMakeFiles/CMakeOutput.log”.

Not sure what’s happening

Just realized that there’s no “/usr/local/zed” when tried to run the diagnostic tool

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 7, 2022, 9:18am UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741/2 "2022-11-07T09:18:51Z")

</div>

Hi @pliniovb  
welcome to the [Stereolabs](https://www.stereolabs.com/) community.

Did you install Jetpack 5.0 or 5.0.2 which is the stable release for production?

> [@pliniovb](#):
>
> Just realized that there’s no “/usr/local/zed” when tried to run the diagnostic tool

Did you install the correct ZED SDK for JP5 after flashing?

---

<div class="post-metadata">

**Author:** ![pliniovb](https://community.stereolabs.com/user_avatar/community.stereolabs.com/pliniovb/32/819_2.png) [@pliniovb](https://community.stereolabs.com/u/pliniovb)\
**Post date:** [November 7, 2022, 6:00pm UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741/3 "2022-11-07T18:00:50Z")

</div>

5.0.2. But I reversed the alterations back to Jetpack 4.6.1 and Ubuntu 18.04 and I’m still having the exact problem.

> [@Myzhar](#):
>
> Did you install the correct ZED SDK for JP5 after flashing?

SDK manager didn’t show any error in any of those two installations. To be clear in what I did, I flashed the ZED box through SDKmanager, logged in after flash, them just continued installation of what I belive is the right SDK, since is the one indicated in the software for JP 4.6.1 , or the 5.0.2 before, from the SDKmanager, am I missing something?

---

<div class="post-metadata">

**Author:** ![pliniovb](https://community.stereolabs.com/user_avatar/community.stereolabs.com/pliniovb/32/819_2.png) [@pliniovb](https://community.stereolabs.com/u/pliniovb)\
**Post date:** [November 7, 2022, 6:11pm UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741/4 "2022-11-07T18:11:48Z")

</div>

> [@Myzhar](#):
>
> Did you install the correct ZED SDK for JP5 after flashing?

I just realized after last reponse that I prob didn’t, I trying that now. I thought that after running sdk manager it whould also install the zed sdk

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 8, 2022, 9:08am UTC](https://community.stereolabs.com/t/cant-run-c-zed-examples-with-fresh-jetpack-5-0-installation-through-sdk-manager/1741/5 "2022-11-08T09:08:29Z")

</div>

The SDK Manager is NVIDIA software, while the ZED SDK is made by us in Stereolabs.  
The NVIDIA SDK Manager installs the operating system, the drivers, and the GPU libraries to the ZED Box, then you must install Stereolabs’ software to be able to use the ZED cameras.
