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

Revision history [back]

click to hide/show revision 1
initial version

I think this is linking order; the library flags for opencv should be specified after the .o files in the linking step:

g++ -o main main.o main.o `pkg-config opencv --libs`