leagor
2016-11-26 10:49:53 UTC
I want to add video capture to SDL 2.0.5. On Windows, it is based on
DirectShow, and DirectShow require to use a lot of class, for example
IFilter, IPin. But when I add them to SDL, compile successfully, link fail.
Below is some error information.
1>vtrans.obj : error LNK2001: unresolved external symbol __purecall
1>winctrl.obj : error LNK2001: unresolved external symbol __purecall
1>transip.obj : error LNK2001: unresolved external symbol "void * __cdecl
operator new(unsigned int)" (??***@YAPAXI@Z)
1>winutil.obj : error LNK2001: unresolved external symbol "void * __cdecl
operator new(unsigned int)" (??***@YAPAXI@Z)
1>transip.obj : error LNK2001: unresolved external symbol _memcpy
How to resolve it?
DirectShow, and DirectShow require to use a lot of class, for example
IFilter, IPin. But when I add them to SDL, compile successfully, link fail.
Below is some error information.
1>vtrans.obj : error LNK2001: unresolved external symbol __purecall
1>winctrl.obj : error LNK2001: unresolved external symbol __purecall
1>transip.obj : error LNK2001: unresolved external symbol "void * __cdecl
operator new(unsigned int)" (??***@YAPAXI@Z)
1>winutil.obj : error LNK2001: unresolved external symbol "void * __cdecl
operator new(unsigned int)" (??***@YAPAXI@Z)
1>transip.obj : error LNK2001: unresolved external symbol _memcpy
How to resolve it?