This is not a problem
make: Nothing to be done for `all'.
it just means, that everything is already built and you're ready to go and test your executable.
The second one
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
is a runtime error.
It says, that somewhere you or OpenCV pass a NULL
pointer to a std::string
constructor, which is not allowed.
The only place, where this could happen in your code, might be
image = imread( argv[1], 1 );
when you call the executable without parameters. In this case argc
is one and argv[1]
is NULL
.