Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-11-09 15:14:41


Juergen Hunold wrote:

Hi Juergen,

> On Wednesday 08 November 2006 19:52, Vladimir Prus wrote:
>> Gennadiy Rozental wrote:
>> > "Vladimir Prus" <ghost_at_[hidden]> wrote in message
>> > news:200611081912.10638.ghost_at_cs.msu.su...
>> >
>> >> Just a quick question: is it still true that Boost.Test libraries
>> >> cannot be
>> >> DLL on Windows?
>> >
>> > No. DLL Support is implemented. Boost.Test Jamfile is updated also
>> > to support this
>
> But not Jamfile.v2
> Please find test_build.Jamfile.v2 attached for enabling shared linking
> using msvc and defining "BOOST_TEST_DYN_LINK=1" on all platforms for
> shared linking. This makes the behaviour consistant on all platforms
> which means you'll get similar errors on all platforms...
> And also adding the missing usage requierements without nothing will
> work at all :-))

True.

>> ### mwld Linker Error:
>> #   Undefined symbol: '_main'
>> #   referenced from '_mainCRTStartup' in maincrt.c:97
>> (MSL_All-DLL_x86_D.lib)
>> ..failed cw.link ..\..\..
>> \bin.v2\libs\test\test\class_properties_test.test\cw-9.4\debug\class_
>>properties_test.exe...
>
> With the first patch, you'll get similar errors on all platfoms.
> Please patch Jamfile.v2 of Boost.Test tests with test_test.Jamfile.v2
>

> My patch does this.
> I've patches for all other libraries, which simply add
> "/<link>shared" to the test libraries (see thread_test.Jamfile.v2.diff)

Did you mean "/<link>static"? And you've only attached a patch for threads.
Can you send the patch for all the other libraries too?

Thanks,
Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk