one question about "Directshow + CUDA
Hello...bog , I'm Eric...
I checked CUDA Zone Forum and found this article...
[url="http://forums.nvidia.com/index.php?showtopic=86779&hl="]http://forums.nvidia.com/index.php?showtopic=86779&hl=[/url]

I want to create one directshow transform filter combined with MyCudaProj.dll (<-- I created it)
Now I use "LoadLibrary" function to load *.dll ...
But it always can't be loaded...
I'm sure *.dll is ok, cuz I test it with VS2005 console project successfully... confused.gif

Another way I think is to add *.cu in Directshow Filter proj ...
In order to let Directshow transform function call function of *.cu successfully,
I add (Extern "C") to define the function of *.cu...
But... the Vs2005 compiler always shows this message

nullnull.obj : error LNK2019: unresolved external symbol _TestHelloCUDA@0 referenced in function "private: virtual long __thiscall CNullNull::Transform(struct IMediaSample *)" (?Transform@CNullNull@@EAEJPAUIMediaSample@@@Z)
1>Debug\nullnull.ax : fatal error LNK1120: 1 unresolved externals

Did you have any experience about this...
I also check my project setting many times, but nothing happened... pinch.gif>_<
Hello...bog , I'm Eric...

I checked CUDA Zone Forum and found this article...

http://forums.nvidia.com/index.php?showtopic=86779&hl=



I want to create one directshow transform filter combined with MyCudaProj.dll (<-- I created it)

Now I use "LoadLibrary" function to load *.dll ...

But it always can't be loaded...

I'm sure *.dll is ok, cuz I test it with VS2005 console project successfully... confused.gif



Another way I think is to add *.cu in Directshow Filter proj ...

In order to let Directshow transform function call function of *.cu successfully,

I add (Extern "C") to define the function of *.cu...

But... the Vs2005 compiler always shows this message



nullnull.obj : error LNK2019: unresolved external symbol _TestHelloCUDA@0 referenced in function "private: virtual long __thiscall CNullNull::Transform(struct IMediaSample *)" (?Transform@CNullNull@@EAEJPAUIMediaSample@@@Z)

1>Debug\nullnull.ax : fatal error LNK1120: 1 unresolved externals



Did you have any experience about this...

I also check my project setting many times, but nothing happened... pinch.gif>_<

#1
Posted 01/21/2010 07:25 AM   
Scroll To Top