dusty-nv / jetson-inference

Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
https://developer.nvidia.com/embedded/twodaystoademo
MIT License
7.91k stars 2.99k forks source link

Building from Source on the Jetson - CMAKE #156

Closed stormchaserjohn closed 7 years ago

stormchaserjohn commented 7 years ago

Have followed the directions on the repo for building from source on the Jetson, and I after I create the build directory and attempt to run "cmake../", I keep getting the error "bash: cmake../: No such file or directory.

I have tried downloading the repo several times, checking ~/.bashrc and so on, and just can't find a fix for this.

elabeca commented 7 years ago

You’ll need to put a space between “cmake” and the parent folder “../“

stormchaserjohn commented 7 years ago

OMG, (hangs head in shame) can't believe it was that simple. Thanks so much for pointing it out, you made my day, sir!

abdallah0012 commented 5 years ago

hello when i run cmake ../ ; i have this error.

CMake Error at /usr/share/cmake-3.10/Modules/FindQt4.cmake:1320 (message): Found unsuitable Qt version "5.9.5" from /usr/bin/qmake, this code requires Qt 4.x Call Stack (most recent call first): utils/CMakeLists.txt:12 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/nvidia/jetson-inference/build/CMakeFiles/CMakeOutput.log". See also "/home/nvidia/jetson-inference/build/CMakeFiles/CMakeError.log".

Please, help me.

dusty-nv commented 5 years ago

Hi @abdallah0012 , please try running these commands before trying again:

sudo apt-get update
sudo apt-get install -y libqt4-dev qt4-dev-tools libglew-dev glew-utils libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libglib2.0-dev
sudo apt-get install -y libopencv-calib3d-dev libopencv-dev
abdallah0012 commented 5 years ago

Thanks Dustin for your reply

It resolve my problem but when i run ./detectnet-camera with my nvidia agx xavier card and logitech c930e i have this error. detectnet-camera: failed to capture frame detectnet -camera: failed to convert from NV12 to RGBA detectNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters [cuda] cudaNormalizeRGBA((float4)imgRGBA, make_float2(0.0f, 255.0f), (float4)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight()) [cuda] invalid device pointer (error 17) (hex 0x11) [cuda] /home/nvidia/jetson-inference/detectnet-camera/detectnet -camera.cpp:247

Can you help me please !!

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le ven. 26 avr. 2019 à 17:40, Dustin Franklin notifications@github.com a écrit :

Hi @abdallah0012 https://github.com/abdallah0012 , please try running these commands before trying again:

sudo apt-get update sudo apt-get install -y libqt4-dev qt4-dev-tools libglew-dev glew-utils libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libglib2.0-dev sudo apt-get install -y libopencv-calib3d-dev libopencv-dev

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dusty-nv/jetson-inference/issues/156#issuecomment-487103179, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5TGC5F6H6V2VAYR4ONPODPSMO6XANCNFSM4ECIDSTA .