Hi , I have installed opencv on MAC using macports.
I am trying my first test program :
//#include <opencv2/opencv.hpp>
#include <iostream>
int main(int argc, const char * argv[])
{
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
But below error comes !!
ld: library not found for -lopencv_legacy.2.4.8
error: linker command failed with exit code 1 (use -v to see invocation)
You have wrong linker settings. Do check the video, it is all explained right there.