Pybind11 error have followed all the steps but I am getting an error


 sudo make

[ 6%] Building CXX object CMakeFiles/pyds.dir/src/pyds.cpp.o
In file included from /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:23:0,
from /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/bindings/src/pyds.cpp:19:
/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/bindings/include/pyds.hpp:22:10: fatal error: pybind11.h: No such file or directory
#include <pybind11.h>
compilation terminated.
CMakeFiles/pyds.dir/build.make:62: recipe for target ‘CMakeFiles/pyds.dir/src/pyds.cpp.o’ failed
make[2]: *** [CMakeFiles/pyds.dir/src/pyds.cpp.o] Error 1
CMakeFiles/Makefile2:72: recipe for target ‘CMakeFiles/pyds.dir/all’ failed
make[1]: *** [CMakeFiles/pyds.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

  • Ubuntu 18.04
  • Deepstream 6.0
  • Tesla T4
  • Drivers 470.103.01
  • Cuda 11.4

Can this help?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.