Difference between revisions of "User:Robin Cornelius/SG20 VS2009"
Line 1: | Line 1: | ||
1) Fix boost hell | 1) Fix boost hell | ||
At the time of writing the boost libs supplied with snowglobe 1.4 and 2.0 do not work with Visual Studio 2009 despite them being built for VC90 | At the time of writing the boost libs supplied with snowglobe 1.4 and 2.0 do not work with Visual Studio 2009 despite them being built for VC90. | ||
Solutions build your own boost see [[jira|VWR-9541]] for details or download my boost from http://www.byteme.org.uk/downloads/boost_1_39_VC90_no_scl_shared_crt_static_link.zip | |||
2) Precompiled header hell | 2) Precompiled header hell | ||
The source code comes with a precompiled header created on visual studio 2005, this breaks badly on 2008 with the preprocessor running out of memory | The source code comes with a precompiled header created on visual studio 2005, this breaks badly on 2008 with the preprocessor running out of memory. | ||
Solution in Visual Studio, right click secondlife-bin, go to properties, C++, Precompiled Headers, and change Create/Use Precompiled header to " Not Using Precompiled Headers" | Solution in Visual Studio, right click secondlife-bin, go to properties, C++, Precompiled Headers, and change Create/Use Precompiled header to " Not Using Precompiled Headers" |
Revision as of 00:42, 16 April 2010
1) Fix boost hell
At the time of writing the boost libs supplied with snowglobe 1.4 and 2.0 do not work with Visual Studio 2009 despite them being built for VC90.
Solutions build your own boost see VWR-9541 for details or download my boost from http://www.byteme.org.uk/downloads/boost_1_39_VC90_no_scl_shared_crt_static_link.zip
2) Precompiled header hell
The source code comes with a precompiled header created on visual studio 2005, this breaks badly on 2008 with the preprocessor running out of memory.
Solution in Visual Studio, right click secondlife-bin, go to properties, C++, Precompiled Headers, and change Create/Use Precompiled header to " Not Using Precompiled Headers"
3) WTF is winres.h
Due to WinSDK and 2008 express issues winres.h will not be present and build will fail for this being missing. When you hit the build fail calling for winres.h replace with windows.h
All other cavaets and hoops are the same as 2005