Community
cancel
Showing results for 
Search instead for 
Did you mean: 
oliverwreath
Beginner
133 Views

how to solve: ( IPP 7.0 ) OpenCV link errors ( VS2010, CV2.2, CMake2.84 )

Jump to solution

OpenCV link errors ( VS2010, CV2.2, CMake2.84 )

successfully generated the OpenCV 2.2 through CMake 2.84 with IPP support,

then build the libs with the Visual Studio 2010.

generate directory : E:/DOT/OpenCV2.2_IPP7.0

the project settings:

include:

E:/DOT/OpenCV2.2_IPP7.0/include;E:/DOT/OpenCV2.2_IPP7.0/include/opencv;$(IncludePath)

lib:

E:/DOT/OpenCV2.2_IPP7.0/lib;$(LibraryPath)

link:

opencv_core220d.lib

opencv_highgui220d.lib

opencv_video220d.lib

opencv_ml220d.lib

opencv_legacy220d.lib

opencv_imgproc220d.lib

then build the HelloWorld provided on : http://opencv.willowgarage.com/wiki/VisualC%2B%2B

and the errors are as follow:

1>Link:

1> building library E:/Users/HunterX/documents/visual studio 2010/Projects/OpenCV_Helloworld/Debug/OpenCV_Helloworld.lib and object E:/Users/HunterX/documents/visual studio 2010/Projects/OpenCV_Helloworld/Debug/OpenCV_Helloworld.exp

1>opencv_core220d.lib(system.obj) : error LNK2019: (unanalyzable symbol) _ippStaticInit@0the symbol quoted in "public: __thiscall cv::IPPInitializer::IPPInitializer(void)" (??0IPPInitializer@cv@@QAE@XZ)

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzputsthe symbol quoted in "void __cdecl icvPuts(struct CvFileStorage *,char const *)" (?icvPuts@@YAXPAUCvFileStorage@@PBD@Z)

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzclosethe symbol quoted in "void __cdecl icvClose(struct CvFileStorage *)" (?icvClose@@YAXPAUCvFileStorage@@@Z)

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzopenthe symbol quoted in _cvOpenFileStorage

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzgetsthe symbol quoted in "char * __cdecl icvGets(struct CvFileStorage *,char *,int)" (?icvGets@@YAPADPAUCvFileStorage@@PADH@Z)

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzrewindthe symbol quoted in "void __cdecl icvRewind(struct CvFileStorage *)" (?icvRewind@@YAXPAUCvFileStorage@@@Z)

1>opencv_core220d.lib(persistence.obj) : error LNK2019: (unanalyzable symbol) _gzeofthe symbol quoted in "int __cdecl icvEof(struct CvFileStorage *)" (?icvEof@@YAHPAUCvFileStorage@@@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgetrf_the symbol quoted in "double __cdecl cv::determinant(class cv::Mat const &)" (?determinant@cv@@YANABVMat@1@@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dpotri_the symbol quoted in "double __cdecl cv::invert(class cv::Mat const &,class cv::Mat &,int)" (?invert@cv@@YANABVMat@1@AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dpotrf_the symbol quoted in "double __cdecl cv::invert(class cv::Mat const &,class cv::Mat &,int)" (?invert@cv@@YANABVMat@1@AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgetri_the symbol quoted in "double __cdecl cv::invert(class cv::Mat const &,class cv::Mat &,int)" (?invert@cv@@YANABVMat@1@AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgesv_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _sgesv_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dpotrs_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _spotrs_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _spotrf_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgels_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _sgels_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgelsd_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _sgelsd_the symbol quoted in "bool __cdecl cv::solve(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,int)" (?solve@cv@@YA_NABVMat@1@0AAV21@H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dsyevr_the symbol quoted in "bool __cdecl cv::eigen(class cv::Mat const &,class cv::Mat &,class cv::Mat &,bool,int,int)" (?eigen@cv@@YA_NABVMat@1@AAV21@1_NHH@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _ssyevr_the symbol quoted in "bool __cdecl cv::eigen(class cv::Mat const &,class cv::Mat &,class cv::Mat &,bool,int,int)" (?eigen@cv@@YA_NABVMat@1@AAV21@1_NHH@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _dgesdd_the symbol quoted in "void __cdecl cv::_SVDcompute(class cv::Mat const &,class cv::Mat &,class cv::Mat *,class cv::Mat *,int)" (?_SVDcompute@cv@@YAXABVMat@1@AAV21@PAV21@2H@Z)

1>opencv_core220d.lib(lapack.obj) : error LNK2019: (unanalyzable symbol) _sgesdd_the symbol quoted in "void __cdecl cv::_SVDcompute(class cv::Mat const &,class cv::Mat &,class cv::Mat *,class cv::Mat *,int)" (?_SVDcompute@cv@@YAXABVMat@1@AAV21@PAV21@2H@Z)

1>opencv_highgui220d.lib(window_w32.obj) : error LNK2019: (unanalyzable symbol) __imp__CreateToolbarEx@52the symbol quoted in "int __cdecl icvCreateTrackbar(char const *,char const *,int *,int,void (__cdecl*)(int),void (__cdecl*)(int,void *),void *)" (?icvCreateTrackbar@@YAHPBD0PAHHP6AXH@ZP6AXHPAX@Z3@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_destroythe symbol quoted in "public: void __thiscall cv::Jpeg2KDecoder::close(void)" (?close@Jpeg2KDecoder@cv@@QAEXXZ)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_stream_closethe symbol quoted in "public: void __thiscall cv::Jpeg2KDecoder::close(void)" (?close@Jpeg2KDecoder@cv@@QAEXXZ)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_decodethe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" (?readHeader@Jpeg2KDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_stream_fopenthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" (?readHeader@Jpeg2KDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_matrix_destroythe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_readcmptthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_matrix_createthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_getcmptbytypethe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_cmprof_destroythe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_chclrspcthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_cmprof_createfromclrspcthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" (?readData@Jpeg2KDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_encodethe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_strtofmtthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_createthe symbol quoted in "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@Jpeg2KEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_image_writecmptthe symbol quoted in "protected: bool __thiscall cv::Jpeg2KEncoder::writeComponent8u(void *,class cv::Mat const &)" (?writeComponent8u@Jpeg2KEncoder@cv@@IAE_NPAXABVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_initthe symbol quoted in "public: __thiscall cv::JasperInitializer::JasperInitializer(void)" (??0JasperInitializer@cv@@QAE@XZ)

1>opencv_highgui220d.lib(grfmt_jpeg2000.obj) : error LNK2019: (unanalyzable symbol) _jas_cleanupthe symbol quoted in "public: __thiscall cv::JasperInitializer::~JasperInitializer(void)" (??1JasperInitializer@cv@@QAE@XZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_destroy_read_structthe symbol quoted in "public: void __thiscall cv::PngDecoder::close(void)" (?close@PngDecoder@cv@@QAEXXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_errorthe symbol quoted in "protected: static void __cdecl cv::PngDecoder::readDataFromBuf(void *,unsigned char *,unsigned int)" (?readDataFromBuf@PngDecoder@cv@@KAXPAXPAEI@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_get_IHDRthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_read_infothe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_init_iothe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_read_fnthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_create_info_structthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_create_read_structthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" (?readHeader@PngDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_read_endthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_read_imagethe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_read_update_infothe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_rgb_to_graythe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_gray_to_rgbthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_bgrthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_expand_gray_1_2_4_to_8the symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_palette_to_rgbthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_strip_alphathe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_swapthe symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_strip_16the symbol quoted in "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" (?readData@PngDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_destroy_write_structthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_write_endthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_write_imagethe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_write_infothe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_IHDRthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_compression_strategythe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_compression_levelthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_filterthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_compression_mem_levelthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_set_write_fnthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_png.obj) : error LNK2019: (unanalyzable symbol) _png_create_write_structthe symbol quoted in "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@PngEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFSetWarningHandlerthe symbol quoted in "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" (??0TiffDecoder@cv@@QAE@XZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFSetErrorHandlerthe symbol quoted in "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" (??0TiffDecoder@cv@@QAE@XZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFClosethe symbol quoted in "public: void __thiscall cv::TiffDecoder::close(void)" (?close@TiffDecoder@cv@@QAEXXZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFGetFieldthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" (?readHeader@TiffDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFRGBAImageOKthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" (?readHeader@TiffDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFOpenthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" (?readHeader@TiffDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFReadEncodedTilethe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFReadEncodedStripthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFReadRGBATilethe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFReadRGBAStripthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_tiff.obj) : error LNK2019: (unanalyzable symbol) _TIFFIsTiledthe symbol quoted in "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" (?readData@TiffDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_resync_to_restartthe symbol quoted in "void __cdecl cv::jpeg_buffer_src(struct jpeg_decompress_struct *,struct cv::JpegSource *)" (?jpeg_buffer_src@cv@@YAXPAUjpeg_decompress_struct@@PAUJpegSource@1@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_destroy_decompressthe symbol quoted in "public: void __thiscall cv::JpegDecoder::close(void)" (?close@JpegDecoder@cv@@QAEXXZ)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_read_headerthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_stdio_srcthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_CreateDecompressthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_std_errorthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" (?readHeader@JpegDecoder@cv@@UAE_NXZ)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_finish_decompressthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_read_scanlinesthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_start_decompressthe symbol quoted in "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" (?readData@JpegDecoder@cv@@UAE_NAAVMat@2@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_alloc_huff_tablethe symbol quoted in "int __cdecl cv::my_jpeg_load_dht(struct jpeg_decompress_struct *,unsigned char *,struct JHUFF_TBL * * const,struct JHUFF_TBL * * const)" (?my_jpeg_load_dht@cv@@YAHPAUjpeg_decompress_struct@@PAEQAPAUJHUFF_TBL@@2@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_destroy_compressthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_finish_compressthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_write_scanlinesthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_start_compressthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_set_qualitythe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_set_defaultsthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_stdio_destthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(grfmt_jpeg.obj) : error LNK2019: (unanalyzable symbol) _jpeg_CreateCompressthe symbol quoted in "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector > const &)" (?write@JpegEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIFileRelease@4the symbol quoted in "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" (?close@CvCaptureAVI_VFW@@UAEXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamRelease@4the symbol quoted in "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" (?close@CvCaptureAVI_VFW@@UAEXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamGetFrameClose@4the symbol quoted in "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" (?close@CvCaptureAVI_VFW@@UAEXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamGetFrameOpen@8the symbol quoted in "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" (?open@CvCaptureAVI_VFW@@UAE_NPBD@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamInfoA@12the symbol quoted in "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" (?open@CvCaptureAVI_VFW@@UAE_NPBD@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIFileGetStream@16the symbol quoted in "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" (?open@CvCaptureAVI_VFW@@UAE_NPBD@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIFileOpenA@16the symbol quoted in "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" (?open@CvCaptureAVI_VFW@@UAE_NPBD@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIFileInit@0the symbol quoted in "void __cdecl icvInitCapture_VFW(void)" (?icvInitCapture_VFW@@YAXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamGetFrame@8the symbol quoted in "public: virtual bool __thiscall CvCaptureAVI_VFW::grabFrame(void)" (?grabFrame@CvCaptureAVI_VFW@@UAE_NXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _ICClose@4the symbol quoted in "protected: void __thiscall CvCaptureCAM_VFW::closeHIC(void)" (?closeHIC@CvCaptureCAM_VFW@@IAEXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _ICSendMessage@16the symbol quoted in "protected: void __thiscall CvCaptureCAM_VFW::closeHIC(void)" (?closeHIC@CvCaptureCAM_VFW@@IAEXXZ)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _capCreateCaptureWindowA@32the symbol quoted in "public: virtual bool __thiscall CvCaptureCAM_VFW::open(int)" (?open@CvCaptureCAM_VFW@@UAE_NH@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _capGetDriverDescriptionA@20the symbol quoted in "public: virtual bool __thiscall CvCaptureCAM_VFW::open(int)" (?open@CvCaptureCAM_VFW@@UAE_NH@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _ICDecompressthe symbol quoted in "public: virtual struct _IplImage * __thiscall CvCaptureCAM_VFW::retrieveFrame(int)" (?retrieveFrame@CvCaptureCAM_VFW@@UAEPAU_IplImage@@H@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _ICOpen@12the symbol quoted in "public: virtual struct _IplImage * __thiscall CvCaptureCAM_VFW::retrieveFrame(int)" (?retrieveFrame@CvCaptureCAM_VFW@@UAEPAU_IplImage@@H@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamSetFormat@16the symbol quoted in "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" (?createStreams@CvVideoWriter_VFW@@IAE_NUCvSize@@_N@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIMakeCompressedStream@16the symbol quoted in "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" (?createStreams@CvVideoWriter_VFW@@IAE_NUCvSize@@_N@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVISaveOptions@20the symbol quoted in "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" (?createStreams@CvVideoWriter_VFW@@IAE_NUCvSize@@_N@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIFileCreateStreamA@12the symbol quoted in "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" (?createStreams@CvVideoWriter_VFW@@IAE_NUCvSize@@_N@Z)

1>opencv_highgui220d.lib(cap_vfw.obj) : error LNK2019: (unanalyzable symbol) _AVIStreamWrite@32the symbol quoted in "public: virtual bool __thiscall CvVideoWriter_VFW::writeFrame(struct _IplImage const *)" (?writeFrame@CvVideoWriter_VFW@@UAE_NPBU_IplImage@@@Z)

1>E:/Users/HunterX/documents/visual studio 2010/Projects/OpenCV_Helloworld/Debug/OpenCV_Helloworld.exe : fatal error LNK1120: 121 (unanalyzable command)

1>

1>building failure

1>

1>time 00:00:03.91

========== rebuild all: successful 0 fail 1 skip 0 ==========

any help is appreciated,

thank you for your time.

0 Kudos
1 Solution
Vladimir_Dudnik
Employee
133 Views
Hello,

once you modified CMake scripts and re-generated MSVC projects, please check with OpenCV project settings that right path was added for compiler settings to find IPP header files, right path was added to linker settings to find IPP libraries and right IPP libraries names are used. You can do that if you open generated opencv.sln file and review related project settings.

Regards,
Vladimir

View solution in original post

3 Replies
Vladimir_Dudnik
Employee
134 Views
Hello,

once you modified CMake scripts and re-generated MSVC projects, please check with OpenCV project settings that right path was added for compiler settings to find IPP header files, right path was added to linker settings to find IPP libraries and right IPP libraries names are used. You can do that if you open generated opencv.sln file and review related project settings.

Regards,
Vladimir

View solution in original post

oliverwreath
Beginner
133 Views
Hello,

once you modified CMake scripts and re-generated MSVC projects, please check with OpenCV project settings that right path was added for compiler settings to find IPP header files, right path was added to linker settings to find IPP libraries and right IPP libraries names are used. You can do that if you open generated opencv.sln file and review related project settings.

Regards,
Vladimir

thank you,
and also thanks for Naveen Gv's information

Reply