Problem of SampleCamCalib

Jan 13, 2010 at 8:01 AM

Dear All:

When I debug the SampleCamCalib project to generate a calibration file.

Then will show this:

1>SampleCamCalib.obj : error LNK2019: unresolved external symbol _cvCircle referenced in function "void __cdecl videocallback(struct _IplImage *)" (?videocallback@@YAXPAU_IplImage@@@Z)

1>SampleCamCalib.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall alvar::Camera::ProjectPoints(class std::vector<struct CvPoint3D64f,class std::allocator<struct CvPoint3D64f> > &,class alvar::Pose *,class std::vector<struct CvPoint2D64f,class std::allocator<struct CvPoint2D64f> > &)" (__imp_?ProjectPoints@Camera@alvar@@QAEXAAV?$vector@UCvPoint3D64f@@V?$allocator@UCvPoint3D64f@@@std@@@std@@PAVPose@2@AAV?$vector@UCvPoint2D64f@@V?$allocator@UCvPoint2D64f@@@std@@@4@@Z) referenced in function "void __cdecl videocallback(struct _IplImage *)" (?videocallback@@YAXPAU_IplImage@@@Z)

1>SampleCamCalib.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall alvar::Camera::CalcExteriorOrientation(class std::vector<struct CvPoint3D64f,class std::allocator<struct CvPoint3D64f> > &,class std::vector<struct CvPoint2D64f,class std::allocator<struct CvPoint2D64f> > &,class alvar::Pose *)" (__imp_?CalcExteriorOrientation@Camera@alvar@@QAEXAAV?$vector@UCvPoint3D64f@@V?$allocator@UCvPoint3D64f@@@std@@@std@@AAV?$vector@UCvPoint2D64f@@V?$allocator@UCvPoint2D64f@@@std@@@4@PAVPose@2@@Z) referenced in function "void __cdecl videocallback(struct _IplImage *)" (?videocallback@@YAXPAU_IplImage@@@Z)

what does it mean? is my webcam problem? or missing other header file?

Thanks for your help

Alex

Coordinator
Jan 15, 2010 at 4:11 AM
Edited Jan 15, 2010 at 11:13 PM

Hmm... never seen this problem before. Maybe it's better to directly ask VTT(www.vtt.fi/multimedia/alvar.html) since it's a project from ALVAR distribution.

Ohan