2011-11-11 18 views
13

मैं वीडियो कैप्चर और प्रोसेसिंग ऐप के लिए OpenCV 2.3.1 का उपयोग करने का प्रयास कर रहा हूं। मैंने here से प्रीकंपिल्ड लाइब्रेरी डाउनलोड की और डाउनलोड फ़ोल्डर के build\x86\vc10\staticlib में मिली स्थिर पुस्तकालयों का उपयोग करके एक परीक्षण अनुप्रयोग संकलित करने के लिए गए। संकलन करने की कोशिश करने पर, विजुअल स्टूडियो मुझे नीचे दिखाए गए लिंकर त्रुटियों के साथ धन्यवाद देता है। अतीत में libpng, gzip, और कुछ अन्य लोगों के साथ काम करने के बाद, मैं लिंकर त्रुटियों में उन पुस्तकालयों के कार्यों को पहचानता हूं।ओपनसीवी अनसुलझा बाहरी प्रतीक - अन्य पुस्तकालयों की आवश्यकता है?

OpenCV के precompiled पुस्तकालयों मुझे भी libpng, libjpeg, gzip, और कई अन्य लोगों में लिंक करने की आवश्यकता है, या मैं कुछ याद आ रही है का उपयोग कर रहा है?

1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzputs referenced in function "void __cdecl icvPuts(struct CvFileStorage *,char const *)" ([email protected]@[email protected]@[email protected]) 
1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzclose referenced in function "void __cdecl icvClose(struct CvFileStorage *)" ([email protected]@[email protected]@@Z) 
1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzopen referenced in function _cvOpenFileStorage 
1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzgets referenced in function "char * __cdecl icvGets(struct CvFileStorage *,char *,int)" ([email protected]@[email protected]@[email protected]) 
1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzrewind referenced in function "void __cdecl icvRewind(struct CvFileStorage *)" ([email protected]@[email protected]@@Z) 
1>opencv_core231d.lib(persistence.obj) : error LNK2019: unresolved external symbol _gzeof referenced in function "int __cdecl icvEof(struct CvFileStorage *)" ([email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(window_w32.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "int __cdecl icvCreateTrackbar(char const *,char const *,int *,int,void (__cdecl*)(int),void (__cdecl*)(int,void *),void *)" ([email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" ([email protected][email protected]@UAEXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" ([email protected][email protected]@UAEXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual void __thiscall CvCaptureAVI_VFW::close(void)" ([email protected][email protected]@UAEXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureAVI_VFW::open(char const *)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "void __cdecl icvInitCapture_VFW(void)" ([email protected]@YAXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureAVI_VFW::grabFrame(void)" ([email protected][email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall CvCaptureCAM_VFW::closeHIC(void)" ([email protected][email protected]@IAEXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: void __thiscall CvCaptureCAM_VFW::closeHIC(void)" ([email protected][email protected]@IAEXXZ) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureCAM_VFW::open(int)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvCaptureCAM_VFW::open(int)" ([email protected][email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol _ICDecompress referenced in function "public: virtual struct _IplImage * __thiscall CvCaptureCAM_VFW::retrieveFrame(int)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual struct _IplImage * __thiscall CvCaptureCAM_VFW::retrieveFrame(int)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "protected: bool __thiscall CvVideoWriter_VFW::createStreams(struct CvSize,bool)" ([email protected][email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(cap_vfw.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function "public: virtual bool __thiscall CvVideoWriter_VFW::writeFrame(struct _IplImage const *)" ([email protected][email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_destroy referenced in function "public: void __thiscall cv::Jpeg2KDecoder::close(void)" ([email protected]@[email protected]@QAEXXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_stream_close referenced in function "public: void __thiscall cv::Jpeg2KDecoder::close(void)" ([email protected]@[email protected]@QAEXXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_decode referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_stream_fopen referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_matrix_destroy referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_readcmpt referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_matrix_create referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_getcmptbytype referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cmprof_destroy referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_chclrspc referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cmprof_createfromclrspc referenced in function "public: virtual bool __thiscall cv::Jpeg2KDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_encode referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_strtofmt referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_create referenced in function "public: virtual bool __thiscall cv::Jpeg2KEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_image_writecmpt referenced in function "protected: bool __thiscall cv::Jpeg2KEncoder::writeComponent8u(void *,class cv::Mat const &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_init referenced in function "public: __thiscall cv::JasperInitializer::JasperInitializer(void)" ([email protected]@@[email protected]) 
1>opencv_highgui231d.lib(grfmt_jpeg2000.obj) : error LNK2019: unresolved external symbol _jas_cleanup referenced in function "public: __thiscall cv::JasperInitializer::~JasperInitializer(void)" ([email protected]@@[email protected]) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_destroy_read_struct referenced in function "public: void __thiscall cv::PngDecoder::close(void)" ([email protected]@[email protected]@QAEXXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_error referenced in function "protected: static void __cdecl cv::PngDecoder::readDataFromBuf(void *,unsigned char *,unsigned int)" ([email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_get_io_ptr referenced in function "protected: static void __cdecl cv::PngDecoder::readDataFromBuf(void *,unsigned char *,unsigned int)" ([email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_get_IHDR referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_info referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_init_io referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_read_fn referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_longjmp_fn referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_info_struct referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_read_struct referenced in function "public: virtual bool __thiscall cv::PngDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_end referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_image referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_read_update_info referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_rgb_to_gray referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_gray_to_rgb referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_bgr referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_expand_gray_1_2_4_to_8 referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_palette_to_rgb referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_strip_alpha referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_swap referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_strip_16 referenced in function "public: virtual bool __thiscall cv::PngDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_destroy_write_struct referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@ABV?$v[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_end referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_image referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_write_info referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_IHDR referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_compression_strategy referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_compression_level referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_filter referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_compression_mem_level referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_set_write_fn referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_png.obj) : error LNK2019: unresolved external symbol _png_create_write_struct referenced in function "public: virtual bool __thiscall cv::PngEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetWarningHandler referenced in function "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" ([email protected]@@[email protected]) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetErrorHandler referenced in function "public: __thiscall cv::TiffDecoder::TiffDecoder(void)" ([email protected]@@[email protected]) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFClose referenced in function "public: void __thiscall cv::TiffDecoder::close(void)" ([email protected]@[email protected]@QAEXXZ) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFGetField referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFOpen referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadEncodedTile referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadEncodedStrip referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadRGBATile referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFReadRGBAStrip referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFRGBAImageOK referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFIsTiled referenced in function "public: virtual bool __thiscall cv::TiffDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFWriteScanline referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFScanlineSize referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_tiff.obj) : error LNK2019: unresolved external symbol _TIFFSetField referenced in function "protected: bool __thiscall cv::TiffEncoder::writeLibTiff(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_resync_to_restart referenced in function "void __cdecl cv::jpeg_buffer_src(struct jpeg_decompress_struct *,struct cv::JpegSource *)" ([email protected]@@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "public: void __thiscall cv::JpegDecoder::close(void)" ([email protected]@[email protected]@QAEXXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_src referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readHeader(void)" ([email protected]@[email protected]@UAE_NXZ) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "public: virtual bool __thiscall cv::JpegDecoder::readData(class cv::Mat &)" ([email protected]@[email protected]@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_alloc_huff_table referenced in function "int __cdecl cv::my_jpeg_load_dht(struct jpeg_decompress_struct *,unsigned char *,struct JHUFF_TBL * * const,struct JHUFF_TBL * * const)" ([email protected]@@[email protected]@[email protected]@[email protected]) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_write_scanlines referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_compress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_set_quality referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_set_defaults referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_stdio_dest referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>opencv_highgui231d.lib(grfmt_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_CreateCompress referenced in function "public: virtual bool __thiscall cv::JpegEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" ([email protected]@[email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@@Z) 
1>D:\work\SimCapture\OpenCVTest\Debug\OpenCVTest.exe : fatal error LNK1120: 108 unresolved externals 

उत्तर

2

OpenCV 2.3.1 विंडोज पैकेज में कई लापता स्थिर libs रहे हैं। ये पुस्तकालय आमतौर पर ओपनसीवी लाइब्रेरी के हिस्से के रूप में बनाए जाते हैं और आपको उन्हें अलग से स्थापित करने की आवश्यकता नहीं होती है। तो आप स्वयं स्रोतों से ओपनसीवी बना सकते हैं या पैकेज से गतिशील पुस्तकालयों का उपयोग कर सकते हैं।

+0

तो मेरे एकमात्र विकल्प स्रोत को फिर से बनाने या गतिशील पुस्तकालयों का उपयोग करने के लिए हैं? वहाँ कोई रास्ता नहीं मैं निर्भरता नीचे शिकार के बिना पहले से बने स्थिर पुस्तकालयों का उपयोग कर सकते है? –

+1

बेशक, एंड्री बिल्कुल गलत है। –

5

_avi * लोगों ने जाहिरा तौर पर vfw32.lib के खिलाफ ("अतिरिक्त निर्भरता") को जोड़ने के द्वारा पाया जा सकता है

+0

बहुत बहुत धन्यवाद! –

2

मुझे लगता है कि आप इसे स्थिर साथ काम करने के लिए "एक स्थिर पुस्तकालय में MFC उपयोग" विकल्प का उपयोग करना चाहिए पुस्तकालयों।

+3

आप MFC के बारे में क्यों बात कर रहे हैं? –

3
पहले 6 त्रुटियों (_gzputs, आदि ...), आप अपने लिंकर इनपुट करने के लिए (डीबग विन्यास में या zlibd.lib) zlib.lib जोड़ने के लिए करना चाहिए के लिए

15

मेरे पास अधिकांश घंटियाँ और सीटी के साथ ओपनसीवी का स्थिर निर्माण है।

libpng.lib 
libtiff.lib 
zlib.lib 
IlmImf.lib 
libjasper.lib 
libjpeg.lib 

वे सी के अंदर थे:: \ लिब \ opencv249 \ opencv \ bld32 \ 3rdparty \ lib \ रिलीज

VC10 OpenCV2.4.9 (ओसीएल लुभाने) एक बहुत ही इसी तरह की समस्या मैं सिर्फ निम्न में से सभी से जुड़ा हुआ ठीक करने के लिए

- यह सुनिश्चित नहीं है कि किसने इसे किया लेकिन बिल्ली क्या है। धन्यवाद लूजी!

पी

+0

thx। जो लिंकर मुद्दों को हल करता है। मैं staticlib फ़ोल्डर (निर्माण/86/v12/staticlib) –

+1

'$ (SolutionDir) में मेरी distrib (2.4.8) में libs पाया भी opencv-निर्माण \ 3rdparty \ lib \ Debug' – FelikZ

11

प्रतीक _ इम्प _CreateToolbarEx @ 52 समारोह में संदर्भित "पूर्णांक __cdecl icvCreateTrackbar (चार स्थिरांक *, चार स्थिरांक *, int *, पूर्णांक, __cdecl * शून्य() (पूर्णांक), शून्य (__cdecl *) (int, शून्य *), शून्य *) "(? icvCreateTrackbar @@ YAHPBD0PAHHP6AXH @ ZP6AXHPAX @ Z3 @ Z)

अपने लिंकर इनपुट में comctl32.lib जोड़ें।

लेकिन मैं अभी भी कड़ी त्रुटियों के बहुत सारे पता नहीं क्यों ...

तरह

higui.lib (window_w32.obj), _imp_getDCOrfEx @ 8

higui है यह सब को जोड़ने के बाद .lib (window_w32.obj), _imp_getClipBox @ 8

समस्या हल हो गई।

सिर्फ Gdi32.lib जोड़ सकते हैं और अपने प्रोजेक्ट ठीक हो जाता है।

समाप्त करने के लिए:

cmake के साथ अपने स्वयं स्थिर lib 1.build।

2.3 वें पार्टी libs भी जोड़ा जाना चाहिए।

3. comctl32.lib की तरह libswindows, gdi32.lib भी जोड़ा जाना चाहिए।

4. सावधानीपूर्वक जांच करें कि libs (3rd) का पालन किया गया है/एमटीडी मूड। मैंने LIBCMT.lib और MSVCRT.lib समस्याओं को देखा है।

शुभकामनाएं।

8

एक साथ अन्य उत्तर है कि मैं इस काम करने के लिए प्राप्त करने के लिए की जरूरत के कई Piecing, मैं लिंकर में इस पूरी सूची >> इनपुट >> अतिरिक्त निर्भरता को शामिल करने की जरूरत: सुनिश्चित करने के बाद

opencv_core248d.lib 
opencv_imgproc248d.lib 
opencv_highgui248d.lib 
opencv_ml248d.lib 
opencv_video248d.lib 
opencv_features2d248d.lib 
opencv_calib3d248d.lib 
opencv_objdetect248d.lib 
opencv_contrib248d.lib 
opencv_legacy248d.lib 
opencv_flann248d.lib 
libpngd.lib 
libtiffd.lib 
zlibd.lib 
IlmImfd.lib 
libjasperd.lib 
libjpegd.lib 
comctl32.lib 
gdi32.lib 
vfw32.lib 

कि इस परियोजना के क्रम लाइब्रेरी/एमटीडी विकल्प पर सेट है।

यह दृश्य स्टूडियो के लिए 2013

+0

यह एक 4 के अंत लाता है घंटे संघर्ष, धन्यवाद श्रीमान! – MichaelB

1

मैं नवीनतम opencv बनाम 2015 64 के साथ बनाया के साथ एक समान समस्या है,

लेकिन उसके बाद मैं इन तृतीय पक्ष लाइब्रेरी (3 पार्टी/पुस्तकालय/डीबग या रिलीज में जोड़ा) , समस्या का निदान हो गया था।

IlmImfd.lib 
libjasperd.lib 
libjpegd.lib 
libpngd.lib 
libtiffd.lib 
libwebpd.lib 
zlibd.lib 
संबंधित मुद्दे