mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 802|reply: 7
打印 prevThread nextThread

mfc运行报错

[copyURL]

7

主题

23

帖子

73

积分

member

Rank: 2

积分
73
jumpTo
owner
poston 2019-8-13 11:28 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
报错如下

IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds
reply

使用道具 report

1

主题

580

帖子

2003

积分

vipMem

Rank: 6Rank: 6

积分
2003
sofa
poston 2019-8-13 11:37 | authorOnly
您好,怎么操作出现的?能否提供截图
reply agree Against

使用道具 report

7

主题

23

帖子

73

积分

member

Rank: 2

积分
73
bench
 Owner| poston 2019-8-13 11:38 | authorOnly
fanghj90 post on2019-8-13 11:37
您好,怎么操作出现的?能否提供截图

启动调试debug时
reply agree Against

使用道具 report

1

主题

580

帖子

2003

积分

vipMem

Rank: 6Rank: 6

积分
2003
ground
poston 2019-8-13 11:39 | authorOnly

是否对Demo做了什么改动?
reply agree Against

使用道具 report

7

主题

23

帖子

73

积分

member

Rank: 2

积分
73
5#
 Owner| poston 2019-8-13 11:40 | authorOnly
fanghj90 post on2019-8-13 11:39
是否对Demo做了什么改动?

没有,刚刚在网盘里下载的
reply agree Against

使用道具 report

1

主题

580

帖子

2003

积分

vipMem

Rank: 6Rank: 6

积分
2003
6#
poston 2019-8-13 11:44 | authorOnly
sdwudi727 post on2019-8-13 11:40
没有,刚刚在网盘里下载的

右键工程-》属性-》C/C++ -》Code Generation -》 Runtime Library
看下是不是  /MDd
release的配置是  /MD
reply agree Against

使用道具 report

7

主题

23

帖子

73

积分

member

Rank: 2

积分
73
7#
 Owner| poston 2019-8-13 13:49 | authorOnly
fanghj90 post on2019-8-13 11:44
右键工程-》属性-》C/C++ -》Code Generation -》 Runtime Library
看下是不是  /MDd
release的配置是  ...

按你说的改完仍然报错
错误        5        error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏       
reply agree Against

使用道具 report

1

主题

580

帖子

2003

积分

vipMem

Rank: 6Rank: 6

积分
2003
8#
poston 2019-8-16 10:49 | authorOnly
sdwudi727 post on2019-8-13 13:49
按你说的改完仍然报错
错误        5        error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏

重新下载最新的SDK吧
https://share.weiyun.com/55EkBv1
注意:用VS2010打开,或者高版本打开时,不要升级工程。
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-6-1 14:46 , Processed in 0.075198 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList