c++ help with open cv and ipl
Alright here's the deal, I've been working on my grad project to finish my bachelors, the two of us had the code running on my system, we've had to switch systems so that we can bring in our project to present it on wednesday. The problem is, we can't get our code running on the new machine, the code however does run, builds and executes no problem. Upon switching to the new system we are getting build errors.
We're using the ipl and opencv libraries, along with directx 9.0 sdk. We have all the libraries and include files linked in the vc++ include and libraries option under tools-> options -> project -> VC++ Directories. We've built the directx ->direct show files to have the retail and the debug folders with the strmbase.lib and strmbasd.lib
Our program uses ipl and openCV to take in a sequence of frames from a webcam (directx -> directswow library to connect to the webcam)
Anyways the errors appear to be problems with the libraries not linking, all the files are located here: the files
and here are the errors we're getting:
cvision error LNK2001: unresolved external symbol _cvCreateImage
cvision error LNK2001: unresolved external symbol _cvReleaseImage
cvision error LNK2001: unresolved external symbol _IID_IAMVfwCaptureDialogs
cvision error LNK2001: unresolved external symbol _IID_IAMVideoCompression
cvision error LNK2001: unresolved external symbol _IID_IAMVideoProcAmp
cvision error LNK2001: unresolved external symbol _IID_IBaseFilter
cvision error LNK2001: unresolved external symbol _IID_ICreateDevEnum
cvision error LNK2001: unresolved external symbol _IID_IFileSinkFilter2
cvision error LNK2001: unresolved external symbol _IID_IGraphBuilder
cvision error LNK2019: unresolved external symbol _cvColorToScalar referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvCreateImage referenced in function "struct _IplImage * __cdecl convertToColor(struct _IplImage *)" (?convertToColor@@YAPAU_IplImage@@PAU1@@Z)
cvision error LNK2019: unresolved external symbol _cvGetElemType referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvGetRawData referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvRectangle referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvReleaseImage referenced in function "struct _IplImage * __cdecl convertToImage(struct _IplImage *)" (?convertToImage@@YAPAU_IplImage@@PAU1@@Z)
cvision fatal error LNK1120: 13 unresolved externals
cvision warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
if anyone has any ideas it would be greatly appreciated.
Cheers
x-posted
We're using the ipl and opencv libraries, along with directx 9.0 sdk. We have all the libraries and include files linked in the vc++ include and libraries option under tools-> options -> project -> VC++ Directories. We've built the directx ->direct show files to have the retail and the debug folders with the strmbase.lib and strmbasd.lib
Our program uses ipl and openCV to take in a sequence of frames from a webcam (directx -> directswow library to connect to the webcam)
Anyways the errors appear to be problems with the libraries not linking, all the files are located here: the files
and here are the errors we're getting:
cvision error LNK2001: unresolved external symbol _cvCreateImage
cvision error LNK2001: unresolved external symbol _cvReleaseImage
cvision error LNK2001: unresolved external symbol _IID_IAMVfwCaptureDialogs
cvision error LNK2001: unresolved external symbol _IID_IAMVideoCompression
cvision error LNK2001: unresolved external symbol _IID_IAMVideoProcAmp
cvision error LNK2001: unresolved external symbol _IID_IBaseFilter
cvision error LNK2001: unresolved external symbol _IID_ICreateDevEnum
cvision error LNK2001: unresolved external symbol _IID_IFileSinkFilter2
cvision error LNK2001: unresolved external symbol _IID_IGraphBuilder
cvision error LNK2019: unresolved external symbol _cvColorToScalar referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvCreateImage referenced in function "struct _IplImage * __cdecl convertToColor(struct _IplImage *)" (?convertToColor@@YAPAU_IplImage@@PAU1@@Z)
cvision error LNK2019: unresolved external symbol _cvGetElemType referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvGetRawData referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvRectangle referenced in function "void __cdecl cvFillImage(void *,double)" (?cvFillImage@@YAXPAXN@Z)
cvision error LNK2019: unresolved external symbol _cvReleaseImage referenced in function "struct _IplImage * __cdecl convertToImage(struct _IplImage *)" (?convertToImage@@YAPAU_IplImage@@PAU1@@Z)
cvision fatal error LNK1120: 13 unresolved externals
cvision warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
if anyone has any ideas it would be greatly appreciated.
Cheers
x-posted
