VC驿站

 找回密码
 加入驿站

QQ登录

只需一步,快速开始

搜索
查看: 704|回复: 1

[求助] 编译远控出现的问题,跪求大神帮忙!

[复制链接]
54_avatar_middle
在线会员 发表于 2017-7-30 19:20:13 | 显示全部楼层 |阅读模式
10驿站币
小弟不才编译远控出现这个问题。。。。不知道是不是xtp库的问题
以下是错误内容:
XvidEnc.cpp
Linking...
nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DllControl.obj
nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in DllControl.obj; second definition ignored
   Creating library Debug/DllControl.lib and object Debug/DllControl.exp
libcmtd.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
CaptureVideo.obj : error LNK2001: unresolved external symbol _PIN_CATEGORY_PREVIEW
CaptureVideo.obj : error LNK2001: unresolved external symbol _PIN_CATEGORY_CAPTURE
CaptureVideo.obj : error LNK2001: unresolved external symbol _MEDIATYPE_Video
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_IAMStreamConfig
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_IBaseFilter
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategory
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_ICreateDevEnum
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_CaptureGraphBuilder2
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_ICaptureGraphBuilder2
CaptureVideo.obj : error LNK2001: unresolved external symbol _MEDIATYPE_Interleaved
CaptureVideo.obj : error LNK2001: unresolved external symbol _MEDIASUBTYPE_RGB24
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_NullRenderer
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_SampleGrabber
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_ISampleGrabber
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_IMediaControl
CaptureVideo.obj : error LNK2001: unresolved external symbol _CLSID_FilterGraph
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_IGraphBuilder
CaptureVideo.obj : error LNK2001: unresolved external symbol _IID_ISampleGrabberCB
ClientSocket.obj : error LNK2001: unresolved external symbol _uncompress
ClientSocket.obj : error LNK2001: unresolved external symbol _compress
XvidDec.obj : error LNK2001: unresolved external symbol _xvid_decore
XvidDec.obj : error LNK2001: unresolved external symbol _xvid_global
XvidEnc.obj : error LNK2001: unresolved external symbol _xvid_global
XvidEnc.obj : error LNK2001: unresolved external symbol _xvid_encore
Debug/DllControl.dll : fatal error LNK1120: 24 unresolved externals
执行 link.exe 时出错.

DllControl.dll - 1 error(s), 0 warning(s)





上一篇:初学者关于构造函数的问题
下一篇:完成端口WSARecv的问题@Syc
01_avatar_middle
online_admins 发表于 2017-7-30 22:10:30 | 显示全部楼层
都是链接错误,一个是“太多了”,一个是“太少了”
所谓太多了,就是DllMain函数太多了,冲突了,所以报 LNK2005 错误。

所谓太少了,就是找不到某些变量的定义,所以报 LNK2001 错误。
您需要登录后才可以回帖 登录 | 加入驿站 qq_login

本版积分规则

关闭

站长提醒上一条 /2 下一条

QQ|小黑屋|手机版|VC驿站 ( 辽ICP备09019393号tongdun|网站地图wx_jqr

GMT+8, 2019-7-19 16:59

Powered by Discuz! X3.4

© 2009-2019 cctry.com

快速回复 返回顶部 返回列表