-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I tried 3 different packages, but the output below is from the roscuda_vectoradd example (after adding the missing THREADS_PER_BLOCK define and updating the cuda architectures in the CMakeLists file). The cpp file is not getting properly linked to the CUDA file.
Errors << roscuda_vectoradd:make /home/oren/catkin_ws/logs/roscuda_vectoradd/build.make.001.log
Generated /home/oren/catkin_ws/build/roscuda_vectoradd/CMakeFiles/TestLib.dir/src/./TestLib_generated_vectoradd.cu.o successfully.
CMakeFiles/roscuda_vectoradd.dir/src/main.cpp.o: In function `main':
main.cpp:(.text.startup+0x217): undefined reference to `testmain(int, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/oren/catkin_ws/devel/lib/roscuda_vectoradd/roscuda_vectoradd] Error 1
make[1]: *** [CMakeFiles/roscuda_vectoradd.dir/all] Error 2
make: *** [all] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels