From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2007-11-06 05:56:41
Bojan Resnik skrev:
>> Dear all,
>> I'm using bjam to some project outside the boost root.
>> I have created a library by
>> # Library
>> lib bayesian : [ glob ../src/*.cpp ] : <link>shared ;
>> The dll is created just fine, but the stub .lib file is not created when
>> I look in the output directory. Can anyone see what's going on?
>> I'm getting the same result for 1.34 and trunk.
> Do you have any exported symbols in your project? MS linker will not
> generate a lib file if the dll doesn't export any symbols.
This was exactly the problem. Many thanks. I then got a linker error
with boost.test, but it turns out that boost.test does not support dll's
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