Coder Social home page Coder Social logo

Comments (6)

Piyush3dB avatar Piyush3dB commented on May 15, 2024

Could you post the error as it appears in your build logs?

from jetson-inference.

ReSin-Yan avatar ReSin-Yan commented on May 15, 2024

Here is my appears


[ 4%] Building CXX object CMakeFiles/jetson-inference.dir/imageNet.cpp.o
In file included from /home/ubuntu/Downloads/jetson-inference/imageNet.h:9:0,
from /home/ubuntu/Downloads/jetson-inference/imageNet.cpp:5:
/home/ubuntu/Downloads/jetson-inference/tensorNet.h:9:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
make[2]: *** [CMakeFiles/jetson-inference.dir/imageNet.cpp.o] Error 1
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
make: *** [all] Error 2


from jetson-inference.

dusty-nv avatar dusty-nv commented on May 15, 2024

Hi, if you were on Jetson, JetPack would have already installed TensorRT and the header referenced above. However, since you are on desktop, you will need to obtain TensorRT installer through the NVIDIA Registered Developer program.

from jetson-inference.

sulth avatar sulth commented on May 15, 2024

$:~/jetson-inference/build$ sudo make -j8
[ 5%] Building CXX object CMakeFiles/jetson-inference.dir/imageNet.cpp.o
[ 5%] Building CXX object CMakeFiles/jetson-inference.dir/detectNet.cpp.o
[ 8%] Building CXX object CMakeFiles/jetson-inference.dir/segNet.cpp.o
[ 10%] Building CXX object CMakeFiles/jetson-inference.dir/util/camera/gstUtility.cpp.o
In file included from /home/admin/jetson-inference/detectNet.h:9:0,
from /home/admin/jetson-inference/detectNet.cpp:5:
/home/admin/jetson-inference/tensorNet.h:9:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
In file included from /home/admin/jetson-inference/segNet.h:9:0,
from /home/admin/jetson-inference/segNet.cpp:5:
/home/admin/jetson-inference/tensorNet.h:9:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:1373: recipe for target 'CMakeFiles/jetson-inference.dir/detectNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/detectNet.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/glib-2.0/glib/galloca.h:32:0,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gstreamer-1.0/gst/gst.h:27,
from /home/admin/jetson-inference/util/camera/gstUtility.h:9,
from /home/admin/jetson-inference/util/camera/gstUtility.cpp:5:
/usr/include/glib-2.0/glib/gtypes.h:32:24: fatal error: glibconfig.h: No such file or directory
[ 13%] Building CXX object CMakeFiles/jetson-inference.dir/tensorNet.cpp.o
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:1421: recipe for target 'CMakeFiles/jetson-inference.dir/segNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/segNet.cpp.o] Error 1
In file included from /home/admin/jetson-inference/imageNet.h:9:0,
from /home/admin/jetson-inference/imageNet.cpp:5:
/home/admin/jetson-inference/tensorNet.h:9:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:1517: recipe for target 'CMakeFiles/jetson-inference.dir/util/camera/gstUtility.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/util/camera/gstUtility.cpp.o] Error 1
CMakeFiles/jetson-inference.dir/build.make:1397: recipe for target 'CMakeFiles/jetson-inference.dir/imageNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/imageNet.cpp.o] Error 1
[ 16%] Building CXX object CMakeFiles/jetson-inference.dir/util/camera/gstCamera.cpp.o
In file included from /home/admin/jetson-inference/tensorNet.cpp:5:0:
/home/admin/jetson-inference/tensorNet.h:9:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:1445: recipe for target 'CMakeFiles/jetson-inference.dir/tensorNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/tensorNet.cpp.o] Error 1
In file included from /usr/include/glib-2.0/glib/galloca.h:32:0,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gstreamer-1.0/gst/gst.h:27,
from /home/admin/jetson-inference/util/camera/gstCamera.h:8,
from /home/admin/jetson-inference/util/camera/gstCamera.cpp:5:
/usr/include/glib-2.0/glib/gtypes.h:32:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:1565: recipe for target 'CMakeFiles/jetson-inference.dir/util/camera/gstCamera.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/util/camera/gstCamera.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-inference.dir/all' failed
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

While iam trying to install jetson inference on host pc as mentioned in the manual,iam incurring with this error.please someone help

from jetson-inference.

Shubodh avatar Shubodh commented on May 15, 2024

Any follow up? Facing a similar issue..

from jetson-inference.

 avatar commented on May 15, 2024

@Shubodh have you solved your problem yet?

from jetson-inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.