2015-12-09 23:46:32 -0600 | commented answer | How to compile basic opencv program in C++ in ubuntu Say I have a C++ class defined in example.h and example.cpp that uses opencv. How do I generate a .o file for this class so I can use it together with other .o files to generate an executable file? |