LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building .lsb file: '/O2' and '/RTC1' command-line options are incompatible

I'm trying to build .lsb file in Visual Studio 2005 as it's said 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.
My project is attached.
What do I do wrong?
0 Kudos
Message 1 of 4
(12,141 Views)
Hi Dima,

It appears that some of your project's properties may be causing this problem. Since O2 optimization appears to be incompatible with RTC1, you may want to verify this setting and try disabling it if it is enabled. To do this, Go to your Project -> Properties (For Debug Configuration):

Configuration Properties -> C/C++ -> Optimization" tab, set the value of "Optimization" to "Disable (/Od)"

For some additional information on this error you may take a look at:

http://msdn2.microsoft.com/en-us/library/t0cs92zx.aspx

I hope this helps. Have a great day!

Steven C
0 Kudos
Message 2 of 4
(12,118 Views)
Hi, i  want to generate a .lsb file using visual studio 2005 and the tutorial Creating a Cin Project using Visual Studio.net but i get the following error and warnings:

Warning    1    warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library    CIN   

Error    2    error PRJ0019: A tool returned an error code from "CIN"    CIN   

Any help would be great for me

Thanks



0 Kudos
Message 3 of 4
(12,042 Views)
Hi HenryWu,

As this appears to be a Visual Studio issue, the best place to go would be on a Microsoft discussion.

However, I did find an article that discusses this particular error at the following link:

http://blogs.msdn.com/nikolad/archive/2005/01/28/362778.aspx

I hope this helps.

Best regards,

Steven
0 Kudos
Message 4 of 4
(12,022 Views)