
28 Dec
2006
28 Dec
'06
8:26 a.m.
Clark Sims wrote: [In general, please post Boost.Build questions to boost-build@lists.boost.org]
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