| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付赛孚耐:软件保护加密专家
身份认证令牌USB KEY   
共有 474 人关注过本帖
标题:任何程序编译成功后,运行产生下列错误,是什么原因啊?
收藏  订阅  推荐  打印 
jonc
Rank: 2
等级:注册会员
帖子:69
积分:798
注册:2007-3-25
任何程序编译成功后,运行产生下列错误,是什么原因啊?

--------------------Configuration: mainpk - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1117: syntax error in option "subsystem:consoles/incremental:yes"
Error executing link.exe.

mainpk.exe - 1 error(s), 0 warning(s)

搜索更多相关主题的帖子: LINK  编译  mainpk  
2007-11-15 16:24
PcrazyC
Rank: 12Rank: 12Rank: 12
等级:版主
威望:28
帖子:5631
积分:57645
注册:2006-10-20

你是怎样建立源文件的,是新建--->文件--->C++源文件吗

雁无留踪之意,水无取影之心
2007-11-15 16:39
jonc
Rank: 2
等级:注册会员
帖子:69
积分:798
注册:2007-3-25


是啊
就是看了帖子
改了Project->setting->link

project Options: subsystem:console---> subsystem:windows
后就不行了
后来改回来也不行了


菜鸟也想高飞
2007-11-15 16:42
yuyunliuhen
Rank: 12Rank: 12Rank: 12
等级:贵宾
威望:20
帖子:1423
积分:14506
注册:2005-12-12

是不是还改了其他地方?

[此贴子已经被作者于2007-11-15 16:43:12编辑过]


Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2007-11-15 16:42
yuyunliuhen
Rank: 12Rank: 12Rank: 12
等级:贵宾
威望:20
帖子:1423
积分:14506
注册:2005-12-12

subsystem:consoles---》subsystem:console

Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2007-11-15 16:44
jonc
Rank: 2
等级:注册会员
帖子:69
积分:798
注册:2007-3-25


好了
谢谢大家
改错了

菜鸟也想高飞
2007-11-15 16:45
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.092486 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved