|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2007-01-04 11:12:25
simon.sebright_at_[hidden] wrote:
> Hi,
>
> I have built the regex library as per instructions, using a command
> prompt set up by Visual Studio. When I come to build my project using
> the library, it automaticaly pulls in the regex lib file, but I get
> multiple defined symbols from the linker:
> My app is built with wchar_t as unsigned short, and with UNICODE and
> _UNICODE defined, so I updated the makefile for this and rebuilt, but
> I
> just get the same thing.
>
> I can't even see how usinstances.cpp or any other file defines these
> things, and searching boost and the web reveals nothing. Any ideas,
> anyone?
It's known issue:
http://sourceforge.net/tracker/index.php?func=detail&aid=1470041&group_id=7586&atid=107586
The easiest workaround is to build the regex lib with /Zc:wchar_t-
HTH, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk