Ask Your Question

Mahla's profile - activity

2014-02-07 12:20:53 -0600 asked a question 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)