Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

When Building a .lsb File, '/O2' and '/RTC1' Command Line Options Are Incompatible

Primary Software: Measurement Studio>>.NET Support
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I'm trying to build a .lsb file in Visual Studio 2005 as indicated in the Creating a CIN Project in Visual Studio .NET 2003 tutorial but I'm getting the following message:
Command line error D8016 : '/O2' and '/RTC1' command-line options are incompatible.
What am I doing wrong?

Solution:

This message appears due to some of the project's properties. Since O2 optimization is incompatible with RTC1, you must verify this setting and try disabling it if it is enabled.

To do this, in Visual Studio go to your Project » Properties (For Debug Configuration):

In the Configuration Properties » C/C++ » Optimization tab set the value of "Optimization" to "Disable (/Od)"

For some additional information on this error please see the link to MSDN below.



Related Links: MSDN: Command-Line Error D8016
Developer Zone Tutorial: Creating a CIN Project in Visual Studio .NET 2003

Attachments:





Report Date: 02/05/2007
Last Updated: 11/12/2008
Document ID: 464IOT07

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit