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: 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 |
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 > ------------------------------------------------------------------------------ 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 |
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, ------------------------------------------------------------------------------ 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 |
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: http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html best pp ----- Original Message ----- > > 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 > > > > ------------------------------------------------------------------------------ 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 |
Guys,
the easiest way to set up Boost on Windows is to download the binary installer from <http://sourceforge.net/projects/boost/files/boost-binaries/> and let it unpack the libraries. You'll have to choose the installer for your version of VC++ (9 or 10) and for your system (32 or 64 bit). Simon, you should have done that already if you followed the instructions on the QuantLib site. Maybe you downloaded the wrong installer? Luigi On Wed, Jun 25, 2014 at 10:14 PM, <[hidden email]> wrote: > 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: > http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html > best > pp > > > ----- Original Message ----- >> >> 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 >> > >> >> > > ------------------------------------------------------------------------------ > 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 -- <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ 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 |
Free forum by Nabble | Edit this page |