Hi all,
I’m just getting started with using the cl_eye sdk with OpenCV and I’m running into some trouble compiling
which is really frustrating me. I have OpenCV set up and working, which wasn’t a big deal as I’ve done
some work with it before, however I cannot for the life of me get the cl_eye sdk to link properly.
Background info:
- Windows 7 64-bit
- Visual Studio 2010
What Has been done so far.
- The SDK installer added “C:\Program Files (x86)\Code Laboratories\CL-Eye Platform SDK\Bin” to the path
environmental variable. Which seems to be correct.
- I have added “D:\OpenCV\build\include;C:\Program Files (x86)\Code Laboratories\CL-Eye Platform SDK\Include”
to Properties->c/c++->Additional Include Directories
- I have added “D:\OpenCV\build\x64\vc10\lib;C:\Program Files (x86)\Code Laboratories\CL-Eye Platform SDK\Lib”
to Properties->Linker->Additional Library Directories
- I have added “CLEyeMulticam.lib” to the start of Properties->Linker->Input->Additional Dependencies
- And I have restarted the computer after the environmental variables were changed by the installer.
As far as I can tell that’s all I should have to do, but when I compile I receive the following error messages
main.cpp
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeCameraGetFrame referenced in function main
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeCameraStart referenced in function main
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeCreateCamera referenced in function main
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeGetCameraUUID referenced in function main
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeDestroyCamera referenced in function "void __cdecl cleanup(void *,struct _IplImage *)" (?cleanup@@YAXPEAXPEAU_IplImage@@@Z)
1>main.obj : error LNK2019: unresolved external symbol __imp_CLEyeCameraStop referenced in function "void __cdecl cleanup(void *,struct _IplImage *)" (?cleanup@@YAXPEAXPEAU_IplImage@@@Z)
Any help would be greatly appreciated.
Thanks,
Mat.