Boost logo

Boost Users :

From: Martin Zeng (MZeng_at_[hidden])
Date: 2007-05-09 01:13:08


>Unless you name the resulting lib the same way that our auto-linking
code expects then you will need to turn off auto-
>linking support in your app by defining BOOST_REGEX_NO_LIB when
building

Not sure I understand what the above means. Can you explain what the
auto-linking code expect the name of the resulting lib to be? How do I
know if I have it in a form that is expected by the auto-linking code?

Thanks John,
Martin

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of John Maddock
Sent: Tuesday, 8 May 2007 6:47 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Having trouble including
mystaticlibrary(whichuses regex) in my MFC app

Martin Zeng wrote:
> I cannot compile my MFC app in Multibyte, it must be in Unicode, also
> when I use wchar_t as built in type I get other link errors. So, I'm
> trying to attempt building the regex lib without the /Zc:wchar_t as
> you have suggested. But I'm not sure how to do this. Can you please
> help me?

The regex lib is "just a bunch of source files", so create a new static
lib project in your IDE, set the appropriate build options, and add the
regex source (in libs/regex/src) to it. Unless you name the resulting
lib the same way that our auto-linking code expects then you will need
to turn off auto-linking support in your app by defining
BOOST_REGEX_NO_LIB when building, then add a dependency to the static
regex lib to your apps IDE project.

HTH, John.

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

--
This email is from Civica Pty Limited and it, together with 
any attachments, is confidential to the intended recipient(s) 
and the contents may be legally privileged or contain 
proprietary and private information. It is intended solely 
for the person to whom it is addressed. If you are not an 
intended recipient, you may not review, copy or distribute 
this email. If received in error, please notify the sender 
and delete the message from your system immediately. Any 
views or opinions expressed in this email and any files 
transmitted with it are those of the author only and may 
not necessarily reflect the views of Civica and do not create 
any legally binding rights or obligations whatsoever. Unless 
otherwise pre-agreed by exchange of hard copy documents 
signed by duly authorised representatives, contracts may not 
be concluded on behalf of Civica by email. Please note that 
neither Civica nor the sender accepts any responsibility for 
any viruses and it is your responsibility to scan the email 
and the attachments (if any). All email received and sent by 
Civica may be monitored to protect the business interests of 
Civica. 

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