visionWorks compilation error cMake

I am using cmake to start a project using the visionWorks library, but I am getting this error when I cmake/make:

[ 50%] Linking CXX executable stich-ndt
CMakeFiles/stich-ndt.dir/src/stich-ndt.o: In function main': /home/ubuntu/Desktop/stiching-NDT/src/stich-ndt.cpp:65: undefined reference to nvxio::Application::get()’
/home/ubuntu/Desktop/stiching-NDT/src/stich-ndt.cpp:78: undefined reference to nvxio::OptionHandler::oneOf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)' /home/ubuntu/Desktop/stiching-NDT/src/stich-ndt.cpp:80: undefined reference to nvxio::OptionHandler::unsignedInteger(unsigned int*, nvxio::Range const&)’
collect2: error: ld returned 1 exit status
CMakeFiles/stich-ndt.dir/build.make:410: recipe for target ‘stich-ndt’ failed
make[2]: *** [stich-ndt] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/stich-ndt.dir/all’ failed
make[1]: *** [CMakeFiles/stich-ndt.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

actually after adding find_package(VisionWorks-NVXIO) , I get the followign error:

[ 50%] Building CXX object CMakeFiles/stich-ndt.dir/src/stich-ndt.o
[100%] Linking CXX executable stich-ndt
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetValidRegionImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImageFromHandle’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryGraph' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseImage’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetStatus’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxReadMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxuColorConvert’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateContext' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapImagePatch’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to nvxGetVersionInfo' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseContext’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxWriteMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryNode' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryArray’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapImagePatch' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryImage’
collect2: error: ld returned 1 exit status
CMakeFiles/stich-ndt.dir/build.make:411: recipe for target ‘stich-ndt’ failed
make[2]: *** [stich-ndt] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/stich-ndt.dir/all’ failed
make[1]: *** [CMakeFiles/stich-ndt.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

Hi,

Should link to both VisionWorks and NVXIO libraries. Like this:

cmake_minimum_required (VERSION 2.8)

project(VisionWorks)

set (CMAKE_CXX_STANDARD 11)

find_package(VisionWorks REQUIRED)

find_package(VisionWorks-NVXIO REQUIRED)

add_executable(app topic_1017817.cpp)

target_link_libraries(app ${VisionWorks_LIBRARIES} ${VisionWorks-NVXIO_LIBRARIES})

Thanks.

I am still getting the same error after adding all these:

Scanning dependencies of target stich-ndt
[ 50%] Building CXX object CMakeFiles/stich-ndt.dir/src/stich-ndt.cpp.o
[100%] Linking CXX executable stich-ndt
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetValidRegionImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImageFromHandle’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryGraph' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseImage’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetStatus’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxReadMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxuColorConvert’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateContext' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapImagePatch’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to nvxGetVersionInfo' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseContext’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxWriteMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryNode' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryArray’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapImagePatch' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryImage’
collect2: error: ld returned 1 exit status
CMakeFiles/stich-ndt.dir/build.make:412: recipe for target ‘stich-ndt’ failed
make[2]: *** [stich-ndt] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/stich-ndt.dir/all’ failed
make[1]: *** [CMakeFiles/stich-ndt.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

and my Cmakefile:

find_package(OpenCV {VERSION_REQ_OCV} COMPONENTS core highgui imgproc REQUIRED) find_package(CUDA {VERSION_REQ_CUDA} REQUIRED)
find_package(OpenCV {VERSION_REQ_OCV} REQUIRED)#for opencv find_package(CUDA {VERSION_REQ_CUDA} REQUIRED)#for opencv
find_package(PCL 1.4 REQUIRED)#in thsi version
find_package(VisionWorks-NVXIO)
find_package(VisionWorks REQUIRED)
find_package(VisionWorks-NVXIO REQUIRED)

include_directories({CUDA_INCLUDE_DIRS}) include_directories({PCL_INCLUDE_DIRS})
include_directories({ZED_INCLUDE_DIRS}) include_directories({OpenCV_INCLUDE_DIRS})
include_directories({CMAKE_CURRENT_SOURCE_DIR}/lib) #include_directories("{CMAKE_SOURCE_DIR}/src")
include_directories({VisionWorks-NVXIO_INCLUDE_DIRS}) include_directories({VisionWorks_INCLUDE_DIRS})

#include the subdirectory containing our libs
#add_subdirectory (lib)
#include_directories(lib)
#include_directories(lib)

link_directories({ZED_LIBRARY_DIR}) link_directories({OpenCV_LIBRARY_DIRS})
link_directories({CUDA_LIBRARY_DIRS}) link_directories({PCL_LIBRARY_DIRS})
link_directories({VisionWorks-NVXIO_LIBRARY_DIRS}) link_directories({VisionWorks_LIBRARY_DIRS})

add_definitions({PCL_DEFINITIONS}) #add_library(lib1 {CMAKE_CURRENT_SOURCE_DIR}/lib/.cpp ${CMAKE_CURRENT_SOURCE_DIR}/lib/.hpp)

#add_executable (pairwise_incremental_registration pairwise_incremental_registration.cpp)

SET(SRC_FOLDER src)
FILE(GLOB_RECURSE SRC_FILES ${SRC_FOLDER}/*.cpp)

ADD_EXECUTABLE({execName} {SRC_FILES})

add_definitions(-std=c++0x -g -O3) # -m64)
list(REMOVE_ITEM PCL_LIBRARIES “vtkproj4”) ## needed if you install pcl from repo (and libproj-dev)

add_compile_options(<<COMPILE_LANGUAGE:CXX>:-std=c++11 -std=gnu++11> <<COMPILE_LANGUAGE:C>:-std=c99>)

TARGET_LINK_LIBRARIES({execName} {ZED_LIBRARIES}
{OpenCV_LIBRARIES} {PCL_LIBRARIES}
{CUDA_LIBRARIES} {CUDA_npps_LIBRARY} {CUDA_nppi_LIBRARY} {VisionWorks_LIBRARIES} ${VisionWorks-NVXIO_LIBRARIES}
)

Hi,

Could you help to check two thing?

  1. Print out the searched libraries:
MESSAGE( STATUS "VisionWorks lib: " ${VisionWorks_LIBRARIES})
MESSAGE( STATUS "NVXIO lib: " ${VisionWorks-NVXIO_LIBRARIES})
  1. Hack libraries name into cmakelist and build, ex:
target_link_libraries(app visionworks nvxio)

Please let me know the results.
Thanks.

<…>
– VisionWorks lib: visionworks
– NVXIO lib: nvxio
– Configuring done
– Generating done
– Build files have been written to: /home/ubuntu/Desktop/stiching-NDT/build

TARGET_LINK_LIBRARIES({execName} visionworks nvxio {ZED_LIBRARIES}
{OpenCV_LIBRARIES} {PCL_LIBRARIES}
{CUDA_LIBRARIES} {CUDA_npps_LIBRARY} ${CUDA_nppi_LIBRARY})

same error:

Scanning dependencies of target stich-ndt
[ 50%] Building CXX object CMakeFiles/stich-ndt.dir/src/stich-ndt.cpp.o
[100%] Linking CXX executable stich-ndt
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetValidRegionImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImageFromHandle’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryGraph' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseImage’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetStatus’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxReadMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxuColorConvert’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateContext' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapImagePatch’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to nvxGetVersionInfo' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseContext’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxWriteMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryNode' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryArray’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapImagePatch' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryImage’
collect2: error: ld returned 1 exit status
CMakeFiles/stich-ndt.dir/build.make:412: recipe for target ‘stich-ndt’ failed
make[2]: *** [stich-ndt] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/stich-ndt.dir/all’ failed
make[1]: *** [CMakeFiles/stich-ndt.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

Hi,

Could you attach link.txt in folder CMakeFiles/[exeName].dir ?

yes, I didnt see any attachement option, so I am just copying it here:

/usr/bin/c++ CMakeFiles/stich-ndt.dir/src/stich-ndt.cpp.o -o stich-ndt -L/usr/local/zed/lib -L/usr/lib/aarch64-linux-gnu/hdf5/serial/lib -L/usr/local/cuda-8.0/lib64 -rdynamic /usr/lib/libvisionworks.so.1.5.3 /usr/lib/libnvxio.so.1.5.3 /usr/local/zed/lib/libsl_zed.so /usr/local/zed/lib/libsl_depthcore.so /usr/local/zed/lib/libsl_calibration.so /usr/local/zed/lib/libsl_tracking.so /usr/local/zed/lib/libsl_disparityFusion.so /usr/local/zed/lib/libsl_svorw.so /usr/local/zed/lib/libsl_scanning.so /usr/local/zed/lib/libsl_core.so /usr/local/zed/lib/libcudpp.so /usr/local/zed/lib/libcudpp_hash.so /usr/lib/libopencv_vstab.so.2.4.13 /usr/lib/libopencv_imuvstab.so.2.4.13 /usr/lib/libopencv_facedetect.so.2.4.13 /usr/lib/libopencv_esm_panorama.so.2.4.13 /usr/lib/libopencv_detection_based_tracker.so.2.4.13 /usr/lib/libopencv_videostab.so.2.4.13 /usr/lib/libopencv_ts.a /usr/lib/libopencv_superres.so.2.4.13 /usr/lib/libopencv_contrib.so.2.4.13 -lboost_system -lboost_filesystem -lboost_thread -lboost_date_time -lboost_iostreams -lboost_serialization -lboost_chrono -lboost_atomic -lboost_regex -lpthread -lpcl_common -Wl,-Bstatic -lflann_cpp_s -Wl,-Bdynamic -lpcl_kdtree -lpcl_octree -lpcl_search -lqhull -lpcl_surface -lpcl_sample_consensus -lOpenNI -lOpenNI2 -lfreetype -lz -lsqlite3 -ljpeg -lpng -ltiff -lnetcdf_c++ -lnetcdf /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5.so -lsz -ldl -lm /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so -ljsoncpp -lexpat -lxml2 /usr/lib/libvtkWrappingTools-6.2.a -lpython2.7 -lgl2ps -ltheoraenc -ltheoradec -logg -lpcl_io -lpcl_filters -lpcl_features -lpcl_keypoints -lpcl_registration -lpcl_segmentation -lpcl_recognition -lpcl_visualization -lpcl_people -lpcl_outofcore -lpcl_tracking -lboost_system -lboost_filesystem -lboost_thread -lboost_date_time -lboost_iostreams -lboost_serialization -lboost_chrono -lboost_atomic -lboost_regex -lpthread -lqhull -lOpenNI -lOpenNI2 -Wl,-Bstatic -lflann_cpp_s -Wl,-Bdynamic -lfreetype -lz /usr/lib/aarch64-linux-gnu/libvtkRenderingImage-6.2.so.6.2.0 -lsqlite3 /usr/lib/aarch64-linux-gnu/libvtkIOParallel-6.2.so.6.2.0 -ljpeg -lpng -ltiff /usr/lib/aarch64-linux-gnu/libvtkIONetCDF-6.2.so.6.2.0 -lnetcdf_c++ -lnetcdf /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5.so -lpthread -lsz -ldl -lm /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so -ljsoncpp -lexpat /usr/lib/aarch64-linux-gnu/libvtkRenderingLOD-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkTestingRendering-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingFreeTypeFontConfig-6.2.so.6.2.0 -lxml2 /usr/lib/aarch64-linux-gnu/libvtkViewsGeovis-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkGeovisCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOAMR-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersGeneric-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOParallelNetCDF-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOODBC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersHyperTree-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOMySQL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersProgrammable-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOInfovis-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOParallelExodus-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOExodus-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkGUISupportQtWebkit-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkViewsQt-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallelMPI-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingQt-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersTexture-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersReebGraph-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOVideo-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkDomainsChemistry-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingMath-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallelImaging-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOPLY-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOParallelXML-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInteractionImage-6.2.so.6.2.0 /usr/lib/libvtkWrappingTools-6.2.a /usr/lib/aarch64-linux-gnu/libvtkFiltersSMP-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOPostgreSQL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInfovisBoostGraphAlgorithms-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallelStatistics-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOMINC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOXdmf2-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkxdmf2-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersPython-6.2.so.6.2.0 -lpython2.7 /usr/lib/aarch64-linux-gnu/libvtkTestingGenericBridge-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOGeoJSON-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallelGeometry-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingFreeTypeOpenGL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkViewsContext2D-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOMPIParallel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingMorphological-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkLocalExample-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOGDAL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOParallelLSDyna-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingParallel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOExport-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingGL2PS-6.2.so.6.2.0 -lgl2ps /usr/lib/aarch64-linux-gnu/libvtkFiltersVerdict-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingStencil-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallelFlowPaths-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersFlowPaths-6.2.so.6.2.0 -ltheoraenc -ltheoradec -logg /usr/lib/aarch64-linux-gnu/libvtkIOEnSight-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOImport-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOMPIImage-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkGUISupportQtSQL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkParallelMPI4Py-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkGUISupportQtOpenGL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingStatistics-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersSelection-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkTestingIOSQL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingMatplotlib-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingParallelLIC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOVPIC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkWrappingJava-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingVolumeOpenGL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOFFMPEG-6.2.so.6.2.0 /usr/local/cuda-8.0/lib64/libcudart.so /usr/local/cuda-8.0/lib64/libnpps.so /usr/local/cuda-8.0/lib64/libnppi.so -lpcl_common -lpcl_kdtree -lpcl_octree -lpcl_search -lpcl_surface -lpcl_sample_consensus -lpcl_io -lpcl_filters -lpcl_features -lpcl_keypoints -lpcl_registration -lpcl_segmentation -lpcl_recognition -lpcl_visualization -lpcl_people -lpcl_outofcore -lpcl_tracking /usr/local/cuda-8.0/lib64/libcudart.so /usr/local/cuda-8.0/lib64/libnpps.so /usr/local/cuda-8.0/lib64/libnppi.so /usr/lib/libopencv_tegra.so.2.4.13 /usr/lib/libopencv_stitching.so.2.4.13 /usr/lib/libopencv_gpu.so.2.4.13 /usr/lib/libopencv_photo.so.2.4.13 /usr/lib/libopencv_legacy.so.2.4.13 /usr/local/cuda-8.0/lib64/libcufft.so /usr/lib/libopencv_video.so.2.4.13 /usr/lib/libopencv_objdetect.so.2.4.13 /usr/lib/libopencv_ml.so.2.4.13 /usr/lib/libopencv_calib3d.so.2.4.13 /usr/lib/libopencv_features2d.so.2.4.13 /usr/lib/libopencv_highgui.so.2.4.13 /usr/lib/libopencv_imgproc.so.2.4.13 /usr/lib/libopencv_flann.so.2.4.13 /usr/lib/libopencv_core.so.2.4.13 /usr/local/cuda-8.0/lib64/libcudart.so /usr/local/cuda-8.0/lib64/libnppc.so /usr/local/cuda-8.0/lib64/libnppi.so /usr/local/cuda-8.0/lib64/libnpps.so -lm -lpthread -lrt -ltbb -latomic -lproj /usr/lib/aarch64-linux-gnu/libvtkexoIIc-6.2.so.6.2.0 -lnetcdf_c++ -lnetcdf /usr/lib/aarch64-linux-gnu/libvtkViewsInfovis-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInfovisLayout-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkChartsCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersImaging-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInfovisCore-6.2.so.6.2.0 -lxml2 -lpthread /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5.so -lsz -ldl -lm /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so -lpthread /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5.so -lsz -ldl -lm /usr/lib/aarch64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so /usr/lib/aarch64-linux-gnu/libvtkViewsCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInteractionWidgets-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersHybrid-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingGeneral-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOLSDyna-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersParallel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersModeling-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingAnnotation-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingColor-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingLabel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingContextOpenGL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingContext2D-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkverdict-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersAMR-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkGUISupportQt-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkInteractionStyle-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5.5.1 /usr/lib/aarch64-linux-gnu/libQt5Gui.so.5.5.1 /usr/lib/aarch64-linux-gnu/libQt5Core.so.5.5.1 /usr/lib/aarch64-linux-gnu/libvtkIOSQL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingFreeType-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkftgl-6.2.so.6.2.0 -lfreetype /usr/lib/aarch64-linux-gnu/libvtkWrappingPython27Core-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkPythonInterpreter-6.2.so.6.2.0 -lpython2.7 /usr/lib/aarch64-linux-gnu/libvtkParallelMPI-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingLIC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOXML-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOGeometry-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOXMLParser-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingSources-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkParallelCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOLegacy-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkVPIC-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingOpenGL-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingHybrid-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOImage-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkDICOMParser-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkmetaio-6.2.so.6.2.0 -lz -lGLU -lGL -lSM -lICE -lX11 -lXext -lXt /usr/lib/aarch64-linux-gnu/libvtkRenderingVolume-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkRenderingCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonColor-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersExtraction-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersStatistics-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingFourier-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkalglib-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersGeometry-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersSources-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersGeneral-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkFiltersCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonComputationalGeometry-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkImagingCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOMovie-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkIOCore-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonExecutionModel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonDataModel-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonMisc-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonSystem-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtksys-6.2.so.6.2.0 -ldl /usr/lib/aarch64-linux-gnu/libvtkCommonTransforms-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonMath-6.2.so.6.2.0 /usr/lib/aarch64-linux-gnu/libvtkCommonCore-6.2.so.6.2.0 -ltheoraenc -ltheoradec -logg -Wl,-rpath,/usr/local/zed/lib:/usr/lib/aarch64-linux-gnu/hdf5/serial/lib:/usr/local/cuda-8.0/lib64

Hi,

From the log file, it looks correctly link to the VisionWorks library.
No sure why still cause the error.
(The error is missing VisionWorks library)

/usr/bin/c++ CMakeFiles/stich-ndt.dir/src/stich-ndt.cpp.o -o stich-ndt -L/usr/local/zed/lib -L/usr/lib/aarch64-linux-gnu/hdf5/serial/lib -L/usr/local/cuda-8.0/lib64 -rdynamic /usr/lib/libvisionworks.so.1.5.3 /usr/lib/libnvxio.so.1.5.3

Could you remove the whole release folder and rebuild it again?
Thanks.

Unfortunately I am getting the same error:

Scanning dependencies of target stich-ndt
[ 50%] Building CXX object CMakeFiles/stich-ndt.dir/src/stich-ndt.cpp.o
[100%] Linking CXX executable stich-ndt
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetValidRegionImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImageFromHandle’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryGraph' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseImage’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateImage' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxGetStatus’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxReadMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxuColorConvert’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxCreateContext' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapImagePatch’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to nvxGetVersionInfo' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxReleaseContext’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxWriteMatrix' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxMapArrayRange’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryNode' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryArray’
/usr/lib/libnvxio.so.1.5.3: undefined reference to vxUnmapImagePatch' /usr/lib/libnvxio.so.1.5.3: undefined reference to vxQueryImage’
collect2: error: ld returned 1 exit status
CMakeFiles/stich-ndt.dir/build.make:412: recipe for target ‘stich-ndt’ failed
make[2]: *** [stich-ndt] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/stich-ndt.dir/all’ failed
make[1]: *** [CMakeFiles/stich-ndt.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

maybe I could reset some settings? re install something? anything else?

Hi

Do you mind to share your project with us debugging via private message?

Could you also try to make your project via g++ command directly?
Ex, g++ xxx.cpp -lvisionworks -lnvxio -o app