Command line error D8016 : ‘/openmp’ and ‘/clr:pure’ command-line options are incompatible
January 25, 2011 at 10:42 pm 2 comments
Did you get this error when compiled the OpenMP program with Visual C++ ?
Error “Command line error D8016 : ‘/openmp’ and ‘/clr:pure’ command-line options are incompatible”
That is because Microsoft’s OpenMP implementation is not compatible with Pure MSIL Common Language Runtime (/clr:pure) or Safe MSIL Common Language Runtime (/clr:safe ). To fix this issue, you will need to use /clr command-line option instead of /clr:pure. Following is steps to change this option:
- Select menu Project or right-click on project name of Solution Explorer
- Choose the Properties to open properties window of the project
- Select General in Configuration Properties
- In the Common Language Runtime, choose /clr
- Then OK and re-compile your project
Entry filed under: C++ Programming, Parallel Programming. Tags: /clr, /clr:pure, /clr:safe, /openmp, Command line error D8016 : '/openmp' and '/clr:pure' command-line options are incompatible, compile openmp program in Visual Studio, D8016.
Find the country by ip address Strategy Analytics: Multi-Core Processors to Penetrate 45 Percent of Smartphones by 2015
2 Comments Add your own
Leave a Reply Cancel reply
Trackback this post | Subscribe to the comments via RSS Feed
1.
binta | August 21, 2012 at 3:08 am
thankyou…so..much.
2.
Kostya | September 8, 2012 at 12:01 pm
Thanks! This is really annoying problem and it’s the only place there solution can be found.