CCritSec::CCritSec(void) already defined in 问题的解决
2010-07-17 16:00
399 查看
各位大虾,本人在编译DirectShow工程时,Release版是好的,但在编译Debug版本时出问题,请教怎么样解决?
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::CCritSec(void)" (??0CCritSec@@QAE@XZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::~CCritSec(void)" (??1CCritSec@@QAE@XZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Lock(void)" (?Lock@CCritSec@@QAEXXZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Unlock(void)" (?Unlock@CCritSec@@QAEXXZ) already defined in FilterGraph.obj
DirectShow链接问题相关解决方法:1、DirectShow链接问题推荐解答:
好象已经说过了多遍了。
在你的工程设置里的:C/C++ 的 Preprocessor的部分加入一项DEBUG.就OK了
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::CCritSec(void)" (??0CCritSec@@QAE@XZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::~CCritSec(void)" (??1CCritSec@@QAE@XZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Lock(void)" (?Lock@CCritSec@@QAEXXZ) already defined in FilterGraph.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Unlock(void)" (?Unlock@CCritSec@@QAEXXZ) already defined in FilterGraph.obj
DirectShow链接问题相关解决方法:1、DirectShow链接问题推荐解答:
好象已经说过了多遍了。
在你的工程设置里的:C/C++ 的 Preprocessor的部分加入一项DEBUG.就OK了
相关文章推荐
- Vs2005下重复定义的问题解决 ... already defined in ...
- Vs2005下重复定义的问题解决 ... already defined in ...
- greta的问题及解决: LIBCMTD.lib(_wctype.obj) : error LNK2005: _iswspace already defined in xxx.obj
- 解决already defined in .obj 的问题(定义/声明的区别)
- already defined in *.obj 的问题额解决方法
- 在VC中already defined in *.obj问题解决
- Address already in use: JVM_Bind问题的解决
- already defined in *.obj“符号已定义”问题原理及解决方案
- already defined in *.obj“符号已定义”问题原理及解决方案
- Solve Error: nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in libcpmt.lib(newaop.obj)
- main already defined in *.obj 解决方法
- Ubuntu12.04系统下,解决"Django Error: That port is already in use."报错问题
- win8下命令行解决Socket Error10048:Adress already in use问题
- main already defined in *.obj 解决方法
- error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMT.
- Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use.解决端口被占用问题
- VC6 出现“already defined in *.obj”错误的解决方法
- 解决socket.error: [Errno 98] Address already in use问题
- 解决"java.lang.UnsatisfiedLinkError: Native Library xxx.dll already loaded in another classloader"问题
- 解决socket.error: [Errno 98] Address already in use问题