http://quantlib.414.s1.nabble.com/link-error-on-building-quantlib-tp15542p15545.html
Ah! you have two compilers in your computer. Right?
You have to tell b2 which one to use ("toolset" option). Have a look at point 5.2.2 on:
>
> Thanks for the reply pp.
> I tried running
> b2 variant=release link=static threading=multi runtime-link=shared
> --with-test
> and I've added to boost.../stage/lib to my library directories in
> VC++ directories as suggested by b2 after i ran the above command.
>
>
> Trying to build again I still get
>
>
>
> LINK : fatal error LNK1104: cannot open file
> 'libboost_unit_test_framework-vc90-mt-1_55.lib'
> Build log was saved at
> "file://c:\QuantLib\QuantLib-1.4\QuantLib-1.4\test-suite\build\vc90\Win32\Release\BuildLog.htm"
> testsuite - 1 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 14 up-to-date, 0 skipped
> ==========
>
>
> However stage/lib does now contain the file
> libboost_unit_test_framework-vc100-mt-1_55
> which is almost what i want.
>
>
>
> Simon
>
>
>
>
>
>
>
>
>
>
> On Wed, Jun 25, 2014 at 6:29 PM, <
[hidden email] > wrote:
>
>
> Hi,
> have you created all libs with all linkages? looks like you didnt
> build the non static version.
> try with:
> b2 variant=release link=static threading=multi runtime-link=shared
> --with-test
>
> assuming paths are ok in your kit.
> Best
> pp
>
>
>
>
> ----- Original Message -----
> >
> >
> > I get the following link error when trying to build quantlib on
> > visual studio 08:
> >
> >
> >
> > americanoption.cpp
> > Generating Code...
> > Linking...
> > LINK : fatal error LNK1104: cannot open file
> > 'libboost_unit_test_framework-vc90-mt-1_55.lib'
> > Build log was saved at
> > "file://c:\QuantLib\QuantLib-1.4\QuantLib-1.4\test-suite\build\vc90\Win32\Release\BuildLog.htm"
> > testsuite - 1 error(s), 0 warning(s)
> > ========== Build: 0 succeeded, 1 failed, 14 up-to-date, 0 skipped
> > ==========
> >
> >
> >
> >
> > I followed the instructions here:
> >
http://quantlib.org/install/vc9.shtml> >
> > I have installed boost 1_55_0 and tested it without problems.
> >
> >
> > However I cannot find the file
> > 'libboost_unit_test_framework-vc90-mt-1_55.lib' the linker is
> > looking for.
> >
> >
> > Any ideas?
> >
> >
> > Thanks,
> > Simon
> > ------------------------------------------------------------------------------
> > Open source business process management suite built on Java and
> > Eclipse
> > Turn processes into business applications with Bonita BPM Community
> > Edition
> > Quickly connect people, data, and systems into organized workflows
> > Winner of BOSSIE, CODIE, OW2 and Gartner awards
> >
http://p.sf.net/sfu/Bonitasoft> > _______________________________________________
> > QuantLib-users mailing list
> >
[hidden email]
> >
https://lists.sourceforge.net/lists/listinfo/quantlib-users> >
>
>