Re: MS S Compile problems MT and clr
electrixnow wrote:
Help!,
I need to compile this code with static libs so it run on another XP
machine that does'nt have
MS Studio installed. When I compile now I get an ERROR:
1>------ Rebuild All started: Project: drawing_control, Configuration:
Release Win32 ------
1>Deleting intermediate and output files for project 'drawing_control',
configuration 'Release|Win32'
1>Compiling...
1>cl : Command line error D8016 : '/MT' and '/clr:oldsyntax'
command-line options are incompatible
1>Build log was saved at "file://c:\Documents and
Settings\Grant\Desktop\drawing_control\drawing_control\Release\BuildLog.htm"
1>drawing_control - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
This started happening when I included MT in my code. I am using multi
threading just to hold a loop for 24 hours and then run the program
again. The program compares two data files and generates differences
output files and reports.
I am not a full time programmer and my first time with MS Studio so I
don't really understand all the switches for generating released code.
Anyone have help or ideas on how to get this turn on another XP machine
would be greatly appreciated.
Thanks in advance,
JC
[snip]
Try posting in a Microsoft newsgroup. This group deals with standard
C++, not various implementations of the standard. See this FAQ for what
is on-topic and for some suggestions of where you can post:
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
Cheers! --M