|
-
December 9th, 2009, 09:43 AM
#16
Re: First foray into libboost
 Originally Posted by John E
If I build my app without Boost support (Debug or Release mode) it uses CRT 8.0.50608.0. If I add Boost support, the manifest then specifies a second CRT. So I need 8.0.50608.0 and also 8.0.50727.4053, which is the one used by Boost.
I would recommend not mixing different versions of the CRT. For one, you're asking for trouble when you need to distribute your binaries. If all your dll's link against the same version, you can always distribute that version with your binaries.
Note that I don't have 8.0.50608.0, which seems to be the one used by my copy of VS..! Surely it wouldn't have installed itself and not installed the CRT that it needs? Or is it the case that CRTs are backwards compatible (i.e. more recent ones can be used in place of older ones?)
I think that's where the 'intricate' part of the whole thing really kicks in. I'm not sure how Windows keeps track of the different versions on your system and, to be honest, I really don't want to know. 
In my opinion, the best you could do is to figure out how to build the boost libraries yourself using bjam. That way you can make sure they link against the correct CRT. Also, when you decide to update boost, you won't be facing the same problem all over again.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
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
|