Ask Your Question

Revision history [back]

Can't Compile anything in manjaro

I have been trying to experiment with opencv in manjaro linux. Every time I create a new project in Code::Blocks and try to compile the example, it gives me the error /home/billy/Pictures/Stuff/main.cpp:8: undefined reference to cv::imread(cv::String const&, int)' and /home/benjymon/Pictures/Stuff/main.cpp:11: undefined reference tocv::namedWindow(cv::String const&, int)' and 7 other errors like these. Any ideas on why this is happening? Thanks