stereolabs / zed-tracking-viewer

[DEPRECATED] ZED SDK sample to show the tracking capability
MIT License
17 stars 10 forks source link

make failed #7

Closed jcbppf closed 7 years ago

jcbppf commented 7 years ago

I got to the step where I run make in the build directory, then I get an error:

[ %14] Building CXX object CMakeFiles/ZED_Tracking_Viewer.dir/src/Viewer.o
c++: error: unrecognized command line option '-mavx'
CMakeFiles/ZED_Tracking_Viewer.dir/build.make:62: recipe for target 'CMakeFiles/ZED_Tracking_Viewer.dir/src/Viewer.o' failed
make[2]: *** [CMakeFiles/ZED_Tracking_Viewer.dir/src/Viewer.o] Error 1
CMakeFiles/Makefile:67: recipe for target 'CMakeFiles/ZED_Tracking_Viewer.dir/all' failed
make[1] *** [CMakeFiles/ZED_Tracking_Viewer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I ran this on my Jetson TX1, installed using JetPack 2.3, installed the newest ZED SDK. Is it because of the OpenCV version I am running on the Jetson? Any help would be appreciated. Thanks!

adujardin commented 7 years ago

Hi, This issue is related to this other one : #5

jcbppf commented 7 years ago

I did everything described, and it was fine up right after 100%, then I get an error:


[100%] Linking CXX executable "ZED Tracking Viewer"

/usr/bin/ld: cannot find -lopencv_dep_cudart
collect2: error: ld returned 1 exit status
CMakeFiles/ZED_Tracking_Viewer.dir/build.make:270: recipe for target 'ZED Tracking Viewer' failed
make[2] *** [ZED Tracking Viewer] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ZED_Tracking_Viewer.dir/all' failed
make[1] *** CMakeFiles/ZED_Tracking_Viewer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2```
adujardin commented 7 years ago

Could you check with the last version I just updated pls ? It should fix the issue.

jcbppf commented 7 years ago

Yup, it build. Thanks!

jcbppf commented 7 years ago

And to install the future version, I just go ahead and run the installer, even with the previous version already on the Jetson board?

On Thu, Nov 24, 2016 at 3:10 AM, Aymeric Dujardin notifications@github.com wrote:

Could you check with the last version I just updated pls ? It should fix the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stereolabs/zed-tracking-viewer/issues/7#issuecomment-262725425, or mute the thread https://github.com/notifications/unsubscribe-auth/AKyDfytTRqqY6rLolRwTfyz15F8cWJaPks5rBVSQgaJpZM4K7YqY .

-- Thanks!

Jacob Brown Missouri S&T Student jcbppf@mst.edu

obraun-sl commented 7 years ago

Hi,

You can install the new version straight away. It will replace the current ZED libs/include/tools... If you want to make sure, you can also delete the /usr/local/zed folder but if you modified the settings file (in /usr/local/zed/settings/) SNXXXX.conf, make sure to have a copy of this file before deleting the whole folder.

Best, /OB/