auto_link.hpp question
Posted by
Yan Kuang on
URL: http://quantlib.414.s1.nabble.com/auto-link-hpp-question-tp374.html
Hi All,
I am building the solution QuantLib_full_vc9,
however I have a link error: cannot open file 'libboost_serialization-vc90-mt-s-1_39.lib'
I used bjam to build the boost lib ending
with names: libboost_serialization-vc90-mt-1_39.lib or libboost_serialization-vc90-mt-gb-1_39.lib.
I looked at auto_link.hpp in boost,
which is similar to auto_link.hpp in Quantlib, but longer. Is there anyway
I can use bjam to build none '_DLL'
version of lib.
Thanks,
Yan
# ifdef _DLL
# if (defined(__SGI_STL_PORT)
|| defined(_STLPORT_VERSION))
&& (defined(_STLP_OWN_IOSTREAMS)
|| defined(__STL_OWN_IOSTREAMS))
# if
defined(_DEBUG) &&
(defined(__STL_DEBUG)
|| defined(_STLP_DEBUG))
# define
BOOST_LIB_RT_OPT "-gdp"
# elif
defined(_DEBUG)
# define
BOOST_LIB_RT_OPT "-gdp"
# pragma
message("warning:
STLPort debug versions are built with /D_STLP_DEBUG=1")
# error
"Build options aren't compatible with pre-built libraries"
# else
# define
BOOST_LIB_RT_OPT "-p"
# endif
# elif defined(__SGI_STL_PORT)
|| defined(_STLPORT_VERSION)
# if
defined(_DEBUG) &&
(defined(__STL_DEBUG)
|| defined(_STLP_DEBUG))
# define
BOOST_LIB_RT_OPT "-gdpn"
# elif
defined(_DEBUG)
# define
BOOST_LIB_RT_OPT "-gdpn"
# pragma
message("warning:
STLPort debug versions are built with /D_STLP_DEBUG=1")
# error
"Build options aren't compatible with pre-built libraries"
# else
# define
BOOST_LIB_RT_OPT "-pn"
# endif
# else
# if
defined(_DEBUG)
# define
BOOST_LIB_RT_OPT "-gd"
# else
# define
BOOST_LIB_RT_OPT
# endif
# endif
# else
# if (defined(__SGI_STL_PORT)
|| defined(_STLPORT_VERSION))
&& (defined(_STLP_OWN_IOSTREAMS)
|| defined(__STL_OWN_IOSTREAMS))
# if
defined(_DEBUG) &&
(defined(__STL_DEBUG)
|| defined(_STLP_DEBUG))
# define
BOOST_LIB_RT_OPT "-sgdp"
# elif
defined(_DEBUG)
#
define BOOST_LIB_RT_OPT "-sgdp"
# pragma
message("warning:
STLPort debug versions are built with /D_STLP_DEBUG=1")
# error
"Build options aren't compatible with pre-built libraries"
# else
# define
BOOST_LIB_RT_OPT "-sp"
# endif
# elif defined(__SGI_STL_PORT)
|| defined(_STLPORT_VERSION)
# if
defined(_DEBUG) &&
(defined(__STL_DEBUG)
|| defined(_STLP_DEBUG))
# define
BOOST_LIB_RT_OPT "-sgdpn"
# elif
defined(_DEBUG)
#
define BOOST_LIB_RT_OPT "-sgdpn"
# pragma
message("warning:
STLPort debug versions are built with /D_STLP_DEBUG=1")
# error
"Build options aren't compatible with pre-built libraries"
# else
# define
BOOST_LIB_RT_OPT "-spn"
# endif
# else
# if
defined(_DEBUG)
#
define BOOST_LIB_RT_OPT "-sgd"
# else
# define
BOOST_LIB_RT_OPT "-s"
# endif
# endif
# endif
Unless otherwise stated, this email is confidential. If received in error, please delete and inform the sender by return email. Unauthorised use, copying or distribution is prohibited. Westpac Banking Corporation (ABN 33 007 457 141) is not responsible for viruses, or for delays, errors or interception in transmission. Unless stated or apparent from its terms, any opinion is not the opinion of Westpac Banking Corporation. This message also includes information on Westpac Institutional Bank available at westpac.com.au/wibinfo
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users