
30-09-2008, 14:53
|
|
|
|
חבר מתאריך: 28.09.06
הודעות: 285
|
|
|
error LNK2019 - please help
Hey
I am trying to insert the ARToolKit function to my project.
I added videoWin32DirectShow.cpp
When I try to build the project I get next errors:
1>Linking...
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1> Creating library C:\Graphics\Release\Cube.lib and object C:\Graphics\Release\Cube.exp
1>main.obj : warning LNK4217: locally defined symbol _arVideoCapStop imported in function _main
1>main.obj : warning LNK4217: locally defined symbol _arVideoCapStart imported in function _main
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::EnableMemoryBuffer(unsigned int,unsigned int)" (__imp_?EnableMemoryBuffer@DSVL_VideoSource@@QAEJI I@Z) referenced in function _ar2VideoOpen
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::BuildGraphFromXMLFile(char *)" (__imp_?BuildGraphFromXMLFile@DSVL_VideoSource@@QA EJPAD@Z) referenced in function _ar2VideoOpen
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::BuildGraphFromXMLString(char *)" (__imp_?BuildGraphFromXMLString@DSVL_VideoSource@@ QAEJPAD@Z) referenced in function _ar2VideoOpen
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DSVL_VideoSource: [התמונה הבאה מגיעה מקישור שלא מתחיל ב https ולכן לא הוטמעה בדף כדי לשמור על https תקין: http://www.hitlabnz.org/forum/images/smilies/biggrin.gif] SVL_VideoSource(void)" (__imp_??0DSVL_VideoSource@@QAE@XZ) referenced in function _ar2VideoOpen
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::Stop(bool)" (__imp_?Stop@DSVL_VideoSource@@QAEJ_N@Z) referenced in function _ar2VideoClose
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::CheckinMemoryBuffer(struct MemoryBufferHandle,bool)" (__imp_?CheckinMemoryBuffer@DSVL_VideoSource@@QAEJ UMemoryBufferHandle@@_N@Z) referenced in function _ar2VideoClose
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DSVL_VideoSource::~DSVL_VideoSource(void)" (__imp_??1DSVL_VideoSource@@QAE@XZ) referenced in function "public: void * __thiscall DSVL_VideoSource::`scalar deleting destructor'(unsigned int)" (??_GDSVL_VideoSource@@QAEPAXI@Z)
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::CheckoutMemoryBuffer(struct MemoryBufferHandle *,unsigned char * *,unsigned int *,unsigned int *,enum _PIXELFORMAT *,__int64 *)" (__imp_?CheckoutMemoryBuffer@DSVL_VideoSource@@QAE JPAUMemoryBufferHandle@@PAPAEPAI2PAW4_PIXELFORMAT@ @PA_J@Z) referenced in function _ar2VideoGetImage
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned long __thiscall DSVL_VideoSource::WaitForNextSample(long)" (__imp_?WaitForNextSample@DSVL_VideoSource@@QAEKJ@ Z) referenced in function _ar2VideoGetImage
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::Run(void)" (__imp_?Run@DSVL_VideoSource@@QAEJXZ) referenced in function _ar2VideoCapStart
1>videoWin32DirectShow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: long __thiscall DSVL_VideoSource::GetCurrentMediaFormat(long *,long *,double *,enum _PIXELFORMAT *)" (__imp_?GetCurrentMediaFormat@DSVL_VideoSource@@QA EJPAJ0PANPAW4_PIXELFORMAT@@@Z) referenced in function _ar2VideoInqSize
1>gsub_lite.obj : error LNK2019: unresolved external symbol _arParamDecompMat referenced in function _arglCameraFrustum
1>gsub_lite.obj : error LNK2001: unresolved external symbol _arImageProcMode
1>gsub_lite.obj : error LNK2001: unresolved external symbol _arImage
1>gsub_lite.obj : error LNK2001: unresolved external symbol _arDebug
1>gsub_lite.obj : error LNK2019: unresolved external symbol _arParamObserv2Ideal referenced in function _arglDispImageTexPow2
1>C:\Graphics\Release\Cube.exe : fatal error LNK1120: 16 unresolved externals
1>Build log was saved at "file://c:\Graphics\Release\BuildLog.htm"
1>Cube - 17 error(s), 3 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What should I do to fix this error?
Thanks ahead.
|