Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.test] Missing entry point when statically linking
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-07-04 01:02:04


Tan, Tom (Shanghai <TTan <at> husky.ca> writes:

> I am trying to use the static library, because I was under the
> impression that the feature in this variant would be more complete than
> others.

No. This is not the case. You will not be able to have multi-file test modules
though and you'll pay with some extra compilation time (probably very small on
modern hardware)

> With VC++ I do not have to explicitly specify the static file name
> in the command line if it's what you mean. And if this is the
> problem, the error would be like
> LINK : fatal error LNK1104: cannot open file
> 'libboost_unit_test_framework-vc110-mt-s-1_50.lib'

This is done through use of MSVC specific pragmas. Probably they work
differently in VC11.

Gennadiy


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