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 to
cv::namedWindow(cv::String const&, int)' and 7 other errors like these. Any ideas on why this is happening?
Thanks