Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The solution: It was a stupid mistake. It seems that the order of g++'s arguments matter: g++ -std=c++11 -I../install/include -L../install/lib -lopencv_shape -o try try.cpp won't work, while g++ -std=c++11 -I../install/include -L../install/lib -o try try.cpp -lopencv_shape will. So, all I did was postpone the -lopencv_shape to the end. Silly Billy.

The solution: It was a stupid mistake. It seems that the order of g++'s arguments matter: g++ -std=c++11 -I../install/include -L../install/lib -lopencv_shape -o try try.cpp won't work, while g++ -std=c++11 -I../install/include -L../install/lib -o try try.cpp -lopencv_shape will. So, all I did was postpone the -lopencv_shape to the end. Silly Billy.

I will make it an answer as soon as I will be able to post answers :) Thank you all for such a warm welcome and support, I hope to become a valuable member of this community!

The solution: It was a stupid mistake. It seems that the order of g++'s arguments matter: g++ -std=c++11 -I../install/include -L../install/lib -lopencv_shape -o try try.cpp won't work, while g++ -std=c++11 -I../install/include -L../install/lib -o try try.cpp -lopencv_shape will. So, all I did was postpone the -lopencv-lopencv_shape_shape to the end. Silly Billy.

I will make it an answer as soon as I will be able to post answers :) Thank you all for such a warm welcome and support, I hope to become a valuable member of this community!

The solution: It was a stupid mistake. It seems that the order of g++'s arguments matter: matter:

g++ -std=c++11 -I../install/include -L../install/lib -lopencv_shape -o try try.cpp won't work, while g++ -std=c++11 -I../install/include -L../install/lib -o try try.cpp -lopencv_shape will. So, all I did was postpone the -lopencv_shape to the end. Silly Billy.

I will make it an answer as soon as I will be able to post answers :) Thank you all for such a warm welcome and support, I hope to become a valuable member of this community!

It was a stupid mistake. It seems that the order of g++'s arguments matter:

g++ -std=c++11 -I../install/include -L../install/lib -lopencv_shape -o try try.cpp won't work, while

g++ -std=c++11 -I../install/include -L../install/lib -o try try.cpp -lopencv_shape will. So, all I did was postpone the -lopencv_shape to the end. Silly Billy.

Thank you for such a warm welcome and support, I hope to become a valuable member of this community!