|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-11 00:57:25
On Wednesday 11 October 2006 07:48, Yigong Liu wrote:
Hi Yigong,
> On 10/10/06, Vladimir Prus <ghost_at_[hidden]> wrote:
> > Does your DLL export any functions with __declspec(dllexport)? If not, it
> > won't work on Windows.
> >
> > - Volodya
>
> Thanks for the suggestion. After adding a config.hpp file and specify
> __declspec(dllexport) properly, my code for channel lib compile fine and a
> few samples also build and run correctly.
> However i run into the following problem in some other samples. For a few
> samples which dont use sockets or asio, i see the following compile error
> (attached at end of email) which is related to some microsoft SDK headers.
> However if i include <boost/asio.hpp> at the beginning, the error is gone.
> So it looks like I need to include some settings (which are in asio.hpp)
> into my headers. Any idea what these settings should be?
I don't know -- perhaps you're usin some asio classes in your code? But
actually, I don't have any experience with asio or Windows, so hardly the
best person to ask. If you can't find the solution yourself, I suggest you
post to boost-users mailing list, providing the complete example on which you
see the problem.
- Volodya
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