-
February 9th, 2011, 10:42 AM
#1
VC++ using boost
Hi,
I'm not sure this is where to ask this question, but here goes.
I'm using visual C++ 2010 express edition and am trying to incorporate boost. In particular, I'm trying to use trim.hpp but I keep getting the following linker error:
MSVCMRT.lib(locale0_implib.obj) : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (std._String_const_iterator<char,std::char_traits<char>,std::allocator<char> >): (0x02000019).
Boost was installed using the BoostPro 1.43 installer (because the 1.44 kept bombing).
My project settings are currently:
1.) Common language Runtime Support = "Common language Runtime Support (/clr)"
2.) Use of MFC = "Use Standard Windows Libraries"
3.) Use of ATL = "Not Using ATL"
4.) Runtime Libary = "Multi-threaded DLL (/MD)"
5.) Precompiled Headers = "Not Using Precompiled Headers"
I think maybe the project settings are to blame but I've tried every combination that I can think of and have tried the suggestions that I've seen on line, but none work. I've included the boost library in the vc++ include path, so I know the compiler is finding the needed boost files.
Does anyone know how to fix this?
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|