Page 1 of 1

linking errors..

Posted: Tue Apr 12, 2005 11:24 am
by Anonymous
Hi,

I am developing managed c++ application in vc++. basically i am developing directx filters but i am facing this problem. i searched on the net but could not find a solution.

Here are the linking errors which i am getting

CaptureFilter error LNK2020: unresolved token (0A000014) new
CaptureFilter error LNK2020: unresolved token (0A000029) delete


These are my c++ command line params
----------------
/O2 /I "C:DX90SDKSamplesC++DirectShowBaseClasses" /AI "C:Documents and SettingsAdministratorMy DocumentsVisual Studio ProjectsVellumRelease" /D "WIN32" /D "NDEBUG" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /GS /FAs /Fa".Release/" /Fo".Release/" /Fd".Release/" /W4 /WX /nologo /c /Zi /clr /Gz /FU "C:WINDOWSMicrosoft.NETFrameworkv1.1.4322mscorlib.dll" /FU "C:WINDOWSMicrosoft.NETFrameworkv1.1.4322System.dll" /FU "C:WINDOWSMicrosoft.NETFrameworkv1.1.4322System.Data.dll"
-----------------

and the linker options are
----------------------------
/OUT:"C:Documents and SettingsAdministratorMy DocumentsVisual Studio ProjectsVellumRelease/CaptureFilter.ax" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:DX90SDKSamplesC++DirectShowBaseClassesRelease_Unicode" /DLL /NODEFAULTLIB /DEF:".CaptureFilter.def" /DEBUG /PDB:"C:Documents and SettingsAdministratorMy DocumentsVisual Studio ProjectsVellumRelease/CaptureFilter.pdb" /IMPLIB:".Release/CaptureFilter.lib" /FIXED:No C:DX90SDKSamplesC++DirectShowBaseClassesRelease_Unicodestrmbase.lib quartz.lib vfw32.lib winmm.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "Dx90sdkSamplesC++DirectShowBaseClassesRelease_UnicodeSTRMBASE.lib" "Program FilesMicrosoft DirectX 9.0 SDK (December 2004)Libx86quartz.lib"
----------------------------

Can you guys tell me why i am getting this error.

ve

Archived topic from Iceteks, old topic ID:3240, old post ID:26341

linking errors..

Posted: Tue Apr 12, 2005 5:07 pm
by wtd
Why in the name of everything unholy, if you're using VS.Net, aren't you using C#?

Archived topic from Iceteks, old topic ID:3240, old post ID:26348