Errors building QuantLib + SWIG 1.1 with msvc10

Posted by Pavel-36 on
URL: http://quantlib.414.s1.nabble.com/Errors-building-QuantLib-SWIG-1-1-with-msvc10-tp6506.html

Hello, 

Today I have tried to download and build QuantLib + SWIG interface for usage with C#. I have failed. Here is what I have got. 

Build Env: MSVS 2010 Pro, Vista Pro, SWIG latest (2.0.2), Boost latest (1.44). 

1. Picked source code from SVN with tag R010100f0 (QuantLib + SWIG 1.1)

======QuantLib============

2. Set up project paths for QuantLib project to: 

INCLUDE: $(VCInstallDir)PlatformSDK\include;$(VCInstallDir)PlatformSDK\common\include;$(IncludePath);C:\Program Files\boost\boost_1_44\;

LIB: $(WindowsSdkDir)\lib;$(VCInstallDir)\Lib;C:\Program Files\boost\boost_1_44\lib;..................................

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

4. Built one example project. Everything works OK. 

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

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

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

2. Set up directoris for QuantLib-SWIG project 

INCLUDE: 
C:\Program Files\boost\boost_1_44\; 
C:\Code\Other\QuantLib\QuantLib\; ................

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. 

4. Tried to repeat all those steps above downloading newer code from SVN directory "trunk/". The problem is exactly the same.

Please give me the idea, how this can be fixed. 

Thank you,
Pavel.

------------------------------------------------------------------------------
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

s1.txt (1K) Download Attachment
s2.txt (672 bytes) Download Attachment