[MOAB-dev] MOAB build on windows

James Porter jvporter at wisc.edu
Thu Aug 20 12:34:19 CDT 2009


On Wed, 2009-08-19 at 15:07 -0500, Jason Kraftcheck wrote:
> tautges at mcs.anl.gov wrote:
> > Forwarding to Moab-dev...
> > 
> > 
> > - tim
> > 
> > On Aug 17, 2009, at 1:28 PM, Alfred von Loebbecke
> > <vonloebbecke at pa.nrl.navy.mil> wrote:
> > 
> >> Hi Tim,
> >> I've been trying to build MOAB under Visual Studio 2005 under windows XP
> >> and was hoping you might be able to point me in the right direction.
> >>
> >> Specifically I'm using the /clr:oldsyntax switch, as it says its
> 
> I'm not very familiar with Visual Studio.  Why is that switch required?  On
> the web page below, Microsoft says that that switch was deprecated for VS 2005:
>   http://msdn.microsoft.com/en-us/library/k8d11d4s(VS.80).aspx

You probably should not be using CLR with C++ at all, unless for some
reason you absolutely need to interface with .NET. Even if you do need
to work with .NET, you still probably want to be avoiding the CLR when
building MOAB itself. I don't have Visual Studio in front of me at the
moment, so I'm not entirely sure where the options are, but you should
be disabling CLR support.

- Jim



More information about the moab-dev mailing list