如何解决链接器错误:选项中的语法错误 [英] How to solve linker error: syntax error in option

查看:501
本文介绍了如何解决链接器错误:选项中的语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将应用程序导入到VS2008中,并且出现以下错误.

I imported an application into a VS2008 and I am getting the following error.

Error   1   fatal error <a href="http://msdn.microsoft.com/en-us/library/wswa0bc6%28VS.80%29.aspx">LNK1117</a>: syntax error in option ;mapinfo:lines;


中的语法错误



Can someone help me in solving this problem?

推荐答案

Visual Studio 2005 起,mapinfo链接器选项已被删除,所以我想您已导入使用 Visual Studio 2003 ...创建的项目...
要解决您的问题,请打开项目属性,然后移至链接器->部分. 命令行,然后从其他选项文本框中删除mapinfo选项.
如果您需要由旧的mapinfo选项生成的信息,请将 Linker <部分下的 Generate Map File 选项设置为是(/MAP). /b>-> 调试
The mapinfo linker option has been removed since Visual Studio 2005, so I suppose you have imported a project created with Visual Studio 2003...
To fix your problem open the project properties, and move to the section Linker -> Command Line, and remove the mapinfo option from the Additional options text-box.
If you need the informations generated by the old mapinfo option, set to Yes (/MAP) the option Generate Map File that is under the section Linker -> Debugging


有一种方法可以编辑mapinfo链接选项

http://msdn.microsoft.com/zh-CN/library/bha0yc3d (v = VS.80).aspx
There is how you can edit the mapinfo linking option

http://msdn.microsoft.com/en-US/library/bha0yc3d(v=VS.80).aspx


这篇关于如何解决链接器错误:选项中的语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆