Boost logo

Boost Users :

From: Colin Diesh (diesh_colin_at_[hidden])
Date: 2007-12-29 16:58:40


I am trying to build a boost library and I would get the error from the auto linker Error 2 fatal error C1189: #error : "Mixing a dll boost library with a static runtime is a really bad idea..." c:\bin\boost 1.34.1\boost\config\auto_link.hpp 287 So I changed to a multithreaded dll runtime and I get the error Error 1 fatal error LNK1104: cannot open file 'boost_log-vc80-mt-gd-1_34_1.lib' But when I build my boost library bjam /boost/xxx/build/ It creates a hierarchy like c:\bin\boost 1.34.1\bin.v2 └───libs └───xxx └───build └───msvc-8.0express └───debug └───link-static ........................... libboost_xxx-vc80-gd-1_34_1.lib ........................... libboost_xxx-vc80-gd-1_34_1.lib.rsp Clearly, I did not have the multithreaded versions, and I can not figure out what options, what definitions, what anything, to build all install stage or whatever The Jamfile is overtly simple project boost/xxx; : requirements <include>$(BOOST_ROOT) <link>static <link>shared:<define>BOOST_LOG_SOURCE : usage-requirements <link>shared:<define>BOOST_DATE_TIME_DYN_LINK=1 : source-location ../src ; LOG_SOURCES = blah blah blah; lib boost_xxx : ../src/$(LOG_SOURCES).cpp ; ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net