Git Product home page Git Product logo

Comments (5)

dusty-nv avatar dusty-nv commented on June 29, 2024

Hi @ivory4u, I haven't been maintaining this nodelet, so I would just recommend commenting out lines 85-90 of CMakeLists.txt :

add_library(ros_deep_learning_nodelets src/nodelet_imagenet.cpp src/image_converter.cpp)

from ros_deep_learning.

ivory4u avatar ivory4u commented on June 29, 2024

Hi @dusty-nv
I just comment out lines 85-90 of CMkaeLists.txt.
but I just get other issue like below.
Could help it?

CMakeFiles/video_source.dir/src/node_video_source.cpp.o: In function main': node_video_source.cpp:(.text+0x7cc): undefined reference to videoOptions::videoOptions()'
node_video_source.cpp:(.text+0xd40): undefined reference to videoOptions::CodecFromStr(char const*)' node_video_source.cpp:(.text+0xd6c): undefined reference to videoOptions::FlipMethodFromStr(char const*)'
node_video_source.cpp:(.text+0xee4): undefined reference to videoSource::Create(char const*, videoOptions const&)' CMakeFiles/video_source.dir/src/image_converter.cpp.o: In function imageConverter::Convert(boost::shared_ptr<sensor_msgs::Image_<std::allocator > const> const&)':
image_converter.cpp:(.text+0x924): undefined reference to cudaConvertColor(void*, imageFormat, void*, imageFormat, unsigned long, unsigned long, float2 const&)' CMakeFiles/video_source.dir/src/image_converter.cpp.o: In function imageConverter::Convert(sensor_msgs::Image_<std::allocator >&, imageFormat, uchar3*)':
image_converter.cpp:(.text+0xcc0): undefined reference to cudaConvertColor(void*, imageFormat, void*, imageFormat, unsigned long, unsigned long, float2 const&)' collect2: error: ld returned 1 exit status ros_deep_learning/CMakeFiles/video_source.dir/build.make:180: recipe for target '/home/nvidia/catkin_ws/devel/lib/ros_deep_learning/video_source' failed make[2]: *** [/home/nvidia/catkin_ws/devel/lib/ros_deep_learning/video_source] Error 1 CMakeFiles/Makefile2:3819: recipe for target 'ros_deep_learning/CMakeFiles/video_source.dir/all' failed make[1]: *** [ros_deep_learning/CMakeFiles/video_source.dir/all] Error 2 CMakeFiles/video_output.dir/src/node_video_output.cpp.o: In function main':
node_video_output.cpp:(.text+0x44c): undefined reference to videoOptions::videoOptions()' node_video_output.cpp:(.text+0x740): undefined reference to videoOptions::CodecFromStr(char const*)'
node_video_output.cpp:(.text+0x8a8): undefined reference to videoOutput::Create(char const*, videoOptions const&)' CMakeFiles/video_output.dir/src/image_converter.cpp.o: In function imageConverter::Convert(boost::shared_ptr<sensor_msgs::Image_<std::allocator > const> const&)':
image_converter.cpp:(.text+0x924): undefined reference to cudaConvertColor(void*, imageFormat, void*, imageFormat, unsigned long, unsigned long, float2 const&)' CMakeFiles/video_output.dir/src/image_converter.cpp.o: In function imageConverter::Convert(sensor_msgs::Image_<std::allocator >&, imageFormat, uchar3*)':
image_converter.cpp:(.text+0xcc0): undefined reference to `cudaConvertColor(void*, imageFormat, void*, imageFormat, unsigned long, unsigned long, float2 const&)'
collect2: error: ld returned 1 exit status
ros_deep_learning/CMakeFiles/video_output.dir/build.make:180: recipe for target '/home/nvidia/catkin_ws/devel/lib/ros_deep_learning/video_output' failed
make[2]: *** [/home/nvidia/catkin_ws/devel/lib/ros_deep_learning/video_output] Error 1
CMakeFiles/Makefile2:3750: recipe for target 'ros_deep_learning/CMakeFiles/video_output.dir/all' failed
make[1]: *** [ros_deep_learning/CMakeFiles/video_output.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

from ros_deep_learning.

dusty-nv avatar dusty-nv commented on June 29, 2024

Hmm...can you try adding jetson-utils to this line:

target_link_libraries(video_source ${catkin_LIBRARIES} jetson-inference)

from ros_deep_learning.

ivory4u avatar ivory4u commented on June 29, 2024

Hi @dusty-nv
Yes, It already added that line.

I use TX1 board and Kinetic of ros version.
Is it not working on Kinetic version?

from ros_deep_learning.

dusty-nv avatar dusty-nv commented on June 29, 2024

It's been a long time since I tested against Kinetic.

Can you also try adding jetson-utils to this line:

target_link_libraries(video_output ${catkin_LIBRARIES} jetson-inference)

from ros_deep_learning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.