Boost logo

Boost-Build :

Subject: [Boost-build] Linkage error within custom build variant
From: Dmitry Timoshenko (dimentiy2k_at_[hidden])
Date: 2011-09-16 19:49:40


Hello,

I have a project that defines new variants

variant debug-ssl : debug : <define>UNICOMM_SSL ;
variant release-ssl : release : <define>UNICOMM_SSL ;

When debug-ssl is built, linker can't find the

   libboost_filesystem-vc80-mt-g-1_46_1.lib

because of incorrect ABI tag.
It looks for library that linked against debug runtime, but
compiled as release (d is absent).

The pre-built boost contains

   libboost_filesystem-vc80-mt-gd-1_46_1.lib

The debug-ssl variant is based on debug.
Why it happens? What had I missed?

Thank you,
Dmitry.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk