Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-01-18 14:51:08


Eoin boost.build wrote:
>Hello, I’m having a weird problem when using boost.serialisation with my
>programs where a ".EXP" and ".LIB" file is being generated along with the
>".EXE" when all I’ve specified is for the executable to be built.

Are the EXP and LIB files associared with Boost.Serialisation?

If a DLL contains exported symbols, msvc generates an export file (EXP) and
entries to link against (LIB).

>Everything works flawlessly until I include and use the
>boost.serialisation library. Technicially everything continues to work but
>a ".EXP" and ".LIB" file get built also. This is only a minor problem but
>it does slow down build times and so can get annoying.

It could be that the Boost.Serialisation header is exporting some symbols
and these are exported in the EXE, causing the EXP and LIB files to be
generated. Are you adding some define that is causing the symbols to be
exported (e.g. MAKING_SERIALISATION_DLL) or the auto-link code?

- Reece


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