Posted by
dwmcqueen on
URL: http://quantlib.414.s1.nabble.com/C-wrapper-tp4263p4272.html
The error was related to finding the mt-sgd lib from QuantLib. I
think the newer Visual C++ gave me this warning when migrating the
project:
The single-threaded run-time library switches (/MLd, /ML) have been
removed from the C++ compiler. The project has been automatically
converted to use the corresponding multi-threaded run-time library
switches (/MTd, /MT).
Not sure if this is realted, but I renamed the library created (I
selected the SingleThreaded setting for the compile) to what the
wrapper was looking for, and everything compiled fine. I ran the test
and everything seemed to work.
On 12/6/05, Duncan McQueen <
[hidden email]> wrote:
> I was using Visual C++ .Net Express Edition to try and compile it and
> did get errors - I will post those soon.
>
> However, is there a way to compile it using SWIG on Windows using Mingw?
>
> On 12/6/05, Luigi Ballabio <
[hidden email]> wrote:
> >
> > On 12/03/2005 05:32:43 AM, Duncan McQueen wrote:
> > > I assume someone successfully has built a C# wrapper for QuantLib
> > > using SWIG. I tried following a few different directions and none
> > > seemed to work correctly.
> >
> > I assume you downloaded the 0.3.11 QuantLib-SWIG package. In its CSharp
> > subdirectory, there's a QuantLib.sln solution file for VC.NET which
> > should just work by choosing "Build solution" from the IDE. What kind
> > of errors do you get if you do so? Or maybe you're on a different
> > platform?
> >
> > Later,
> > Luigi
> >
> > ----------------------------------------
> >
> > Vin: It's like this fellow I knew in El Paso. One day, he just took
> > all his clothes off and jumped in a mess of cactus. I asked him that
> > same question, "Why?"
> > Calvera: And?
> > Vin: He said, "It seemed like a good idea at the time."
> > -- The Magnificent Seven
> >
> >
>