I'm new to opencv
and its programming I've read this article and Please click here and try my first programme there.and now I'm getting following Errors .In my main.cpp but file there isn't any error .please help me.
Ld /Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Products/Debug/openCvtest normal x86_64
cd /Users/venushka/Documents/openCvtest
export MACOSX_DEPLOYMENT_TARGET=10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Products/Debug -L/usr/local/lib -F/Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Products/Debug -filelist /Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Intermediates/openCvtest.build/Debug/openCvtest.build/Objects-normal/x86_64/openCvtest.LinkFileList -mmacosx-version-min=10.9 -stdlib=libc++ -Xlinker -dependency_info -Xlinker /Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Intermediates/openCvtest.build/Debug/openCvtest.build/Objects-normal/x86_64/openCvtest_dependency_info.dat -o /Users/venushka/Library/Developer/Xcode/DerivedData/openCvtest-crnuahbzopktrkgsgogwnagypbyi/Build/Products/Debug/openCvtest
Undefined symbols for architecture x86_64:
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
_main in main.o
"cv::namedWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
_main in main.o
"cv::Mat::deallocate()", referenced from:
cv::Mat::release() in main.o
"cv::Mat::zeros(cv::Size_<int>, int)", referenced from:
_main in main.o
"cv::imread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
_main in main.o
"cv::imshow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cv::_InputArray const&)", referenced from:
_main in main.o
"cv::waitKey(int)", referenced from:
_main in main.o
"cv::fastFree(void*)", referenced from:
cv::Mat::~Mat() in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)