Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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?
Posted
Updated 2-Jun-10 6:56am
v3
Comments
Moak 2-Jun-10 12:57pm    
Updated subject and tags, added link, hope this helps to find an answer.

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
 
Share this answer
 
Comments
Albert Holguin 25-May-11 10:49am    
just had the same problem today upgrading an old project... :)
There is how you can edit the mapinfo linking option

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900