How to add cpp file to SDL
"leagor" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
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)" (??2@YAPAXI@Z) 1>winutil.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) 1>transip.obj : error LNK2001: unresolved external symbol _memcpy How to resolve it? _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org