RE: problem compiling testsuite project

Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/problem-compiling-testsuite-project-tp2627p2629.html

At 09:32 AM 7/25/03 -0400, Nehal Patel wrote:

>Anyway, with a fresh mind this morning and upon a slightly more thorough
>examination I noticed that cppunit.dsp is uses the multi-threaded, DLL
>version of the runtime library but the various quantlib projects use the
>multi-threaded, __statically linked__ versions.  Changing cppunit.dsp to be
>consistent with quantlib solves my problems and testsuite complies, but...
>
>The 0.3.1 release uses the multi-threaded, __dll__ runtimes.  I guess
>somewhere between that release and now, the projects in cvs started using
>the static link versions.  Was there a particular reason for this?  I'm
>definitely not a great expert at this, but my guess is that most other
>external libraries will come configured to used the MT/DLL runtimes.  Of
>course, I suppose each user can tweak these setting to their particular
>needs, but it seems like keeping the DLL runtimes might be a good choice for
>the default.

Adding a couple of configurations to the project (workspace?) should do the
trick, shouldn't it? Not that I'm doing it, you know :)

Cheers,
         Luigi