After having installed without issues Driveworks throught the DriveInstall, next step was to rebuild the set of sample to check that the host is correcly setup ( ubuntu 14.04).
so the in /usr/local/driveworks-0.2.1/sample/build I ran the cmake command wihtout issues.
but when I do the ‘make -j’ right after the cmake, it fails linking the libcuda.so.1 lib:
[ 33%] Linking CXX executable sample_camera_tracker
[ 35%] Linking CXX executable sample_rig_configuration
[ 36%] Linking CXX executable sample_occupancy_grid
[ 37%] Linking CXX executable sample_renderer
/usr/bin/ld: warning: libcuda.so.1, needed by /usr/local/driveworks/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvcuvid.so.1, needed by /usr/local/driveworks/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
I’m suprised as I’ve added the path to libcuda.so.1 in LD_LIBRARY_PATH .
(in the .bashrc i’ve added: export LD_LIBRARY_PATH=/home/esi/Documents/nvidia/VibrantePDK/vibrante-t186ref-linux/lib-target:$LD_LIBRARY_PATH )
I’ve installed the out of box ubuntu 14.04 and used the latest cmake 3.8.
So i do not understand why it cannot find it, any ideas ?
I also have the same problem as fxjegaden. As your advice, I had update DriveWorks 0.3 on host PC but the cross-compile doesn’t succeed. The problem is the same as following:
/usr/bin/ld: warning: libcuda.so.1, needed by /usr/local/driveworks/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvcuvid.so.1, needed by /usr/local/driveworks/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
And I didn’t find the libnvcuvid.so.1 in any directory. So could you give me any advice?
I am having the exact same issue. I have DriveWorks 0.3 as well.
I am getting the following warnings:
libcuda.so.1, needed by /usr/local/driveworks-0.3/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
libnvcuvid.so.1, needed by /usr/local/driveworks-0.3/targets/x86_64-linux/lib/libdriveworks.so, not found (try using -rpath or -rpath-link)
I am unable to find libnvcuvid.so.1 anywhere on my system either.
I am getting following result after running ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version Result = FAIL
All other setup is complete. .bashrc has required paths.
After doing this, I just followed the steps provided by nvidia for building samples in the document: /usr/local/driveworks/doc/nvdwx_html/dwx_samples_building.html