|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-12-28 03:26:38
Clark Sims wrote:
[In general, please post Boost.Build questions to
boost-build_at_[hidden]]
> there was another problem also. I forgot to define a macro for exporting
> functions in hello.lib. msvc didn't see any exports in hello.dll, and
> didn't create hello.lib.
Yes. I believe this is msvc bug (or over-smartness). Did you report it to
Microsoft?
> The original Jamroot file works fine, if I
> define the macros, for exporting the functions and thus create hello.lib:
>
> install ../bin : hello test.hello ;
>
> lib hello : hello.cpp : <include>../include : <define>HELLODLL
> <define>WIN32 : <link>shared ;
Right. That's what you need.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk