Boost logo

Boost Users :

From: Andreas Ries (andreasries_at_[hidden])
Date: 2008-04-06 15:04:16


Rainer Thaden schrieb:
> Hi,
>
>
>> But when I try to link the regex example, visual studio looks for
>> 'libboost-regex...'
>> but the file produced for that file is 'boost-regex...' without the lib
>> prefix.
>> I don't know if this is a boost problem or a visual studio configuration
>> problem.
>> Anyway, do you know how can I solve this problem and link libraries with
>> visual studio?
>>
>
> The files with "lib" prefix are static libraries whereas the ones
> without "lib" are used for dynamic linking (DLLs).
> First decide, what you want to use, then build the appropriate files.
> with bjam use the option link=static or link=shared.
>

Hi,
you could also use the bjam option
--build-type=complete
which worked pretty good for me using vs studio express 2008. With that
option all possible dll's and static libraries should be built.
Andreas
> Have a look at
> http://www.codeproject.com/KB/tips/Building_boost_libraries.aspx
> That may help you.
>
> Regards,
>
> Rainer
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>


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