ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

adding switch to final link

asked 2012-01-25 14:08:53 -0600

wyosae67 gravatar image

I am trying to use and external library foo.a and I was told by the manufacturer to add -lnetpbm as a switch to your final link. as I am getting Linking CXX executable bin/fr_cam /home/scott/focusrobotics/release_20120111/lib/libfrdev.a(FrImage.o): In function FrImage': /home/scott/focusrobotics/release_20120111/src/libfrdev/FrImage.cpp:226: undefined reference topm_openr'

how do I do what he suggests?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-01-25 14:44:13 -0600

wyosae67 gravatar image

fixed with target_link_libraries(${PROJECT_NAME} netpbm)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-25 14:08:53 -0600

Seen: 164 times

Last updated: Jan 25 '12