Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You must link the OpenCV libs while building. Try:

g++ $(shell pkg-config opencv --libs) SplitChannel.cpp -o Split

The pkg-config opencv --libs command will return the list of OpenCV libraries.