ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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`