Re: Errors building QuantLib + SWIG 1.1 with msvc10

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Errors-building-QuantLib-SWIG-1-1-with-msvc10-tp6506p6507.html


Hello Pavel,

On Wed, 2011-03-09 at 18:46 +0000, Pavel wrote:
> 1. Picked source code from SVN with tag R010100f0 (QuantLib + SWIG
> 1.1)
>
> ======QuantLib============
>

> 3. Compiled target "Debug". Two missing files
> (fdmhestonlikesolverfactory.cpp, fdmhullwhitemesher.cpp) had to remove
> from the project.

This is strange.  I've checked out the tag, and the files are there in
ql/experimental/finitedifferences.  Are you sure you didn't delete them
accidentally?

> ======QuantLib-SWIG============

> 1. Set up QL_DIR as "C:\Code\Other\QuantLib\QuantLib\"

> Compiled  target "Debug". Received error (see file s1.txt).

1>C:\code\other\quantlib\quantlib\ql\qldefines.hpp(29): fatal error
C1083: Cannot open include file: 'boost/config.hpp': No such file or
directory

means that the compiler didn't find boost. Did you set the include path
correctly for this project, too?

> 2. Set up directoris for QuantLib-SWIG project
>
>
>         INCLUDE:
>         C:\Program Files\boost\boost_1_44\;
>         C:\Code\Other\QuantLib\QuantLib\; ................

Ok, so you don't have the first error anymore, right?


> 3. Compiled  target "Debug". Received error (see file s2.txt). I
> cannot work around this error and I cannot find anything related to
> work.obj in the project.

Maybe some path gone wrong?  What is LIB for your project?  Do you have
any directory there that contains Work and that your compiler might
misinterpret as an input file?

Luigi

--

Zawinski's Law:
Every program attempts to expand until it can read mail. Those
programs which cannot so expand are replaced by ones which can.



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users