Command line error D8016 : '/MT' and '/clr' command-line options are incompatible

I am an advanced level programmer of Borland C++Builder. Interested to try Visual C++ and hence evaluated VC++ Express. Honestly I am both pleased and disappointed.

Pleased:

For a programmer with zero experience using VC++ product, I managed to get my introductory project saved and compiled simply by way of self exploration. This shows despite VC++ is much more complicated than Borland C++ Builder in interface, it is still manageable.

Disappointment:

The subject error corped up and there is no way I can get rid of it. All settings change in the IDE seemed transparent to the command line options. I have already tried all permutations on "Common Runtime Libraries Support" (disabling it) and "Multi-Thread" (/MT /MTd /MD /MDd) but to no avail.

It this a bug or there are too many advanced switches I am yet to understand My project is just a simple Windows application with a form with few buttons and check boxes that do nothing.

Overall: There is still a gap between Borland and Microsoft C/C++ IDE man-machine interface. Is it really that difficult to implement conflicting options check feature



Answer this question

Command line error D8016 : '/MT' and '/clr' command-line options are incompatible

  • tmigliorino

    /clr only works with /MD and /MDd. /clr is required if you're using VC++ to create a WinForms application (by WinForm I mean a .Net 2.0 CLR Form). You do have a point about the conflicting options check feature though (how about raising a feature request at MSDN feedback ).

  • hoffi

    how about you raise the features request

    lazy people.

  • Command line error D8016 : '/MT' and '/clr' command-line options are incompatible