[opensource-dev] VC Express/2008 request for testers/code review

Robin Cornelius robin.cornelius at gmail.com
Tue Aug 24 05:18:16 PDT 2010


Hey everyone,

I've spent way to much of my time recently trying to fix up the builds
initally for 2005 Express, but that very rapidly became tangled with
needing to fix the build process to be aware of which compiler version
it was using so this naturally led to 2008 support being addded. I
really would like to get some input from Brad on this as this is one
of his areas. But also testing from express and 2005/2008 compilers
would be helpful

The revelant JIRAs are

VWR-20879 - FTBFS: find_vc_dir() fails with Visual Studio Express
SNOW-788 - Fix cmake files to correctly include boost on VC2008 windows builds
VWR-20914 - Allow the MS CRT dlls and manifest location to be manually
specified to work around VC Express limitations
VWR-20915 - Remove hardcoding of VC80/8.0 from cmake and python files
VWR-20921 - mt.exe is not found when building with visual studio 2008

You can find the complete patch bundle applied to viewer-development
at  http://bitbucket.org/robincornelius/viewer-development-vwr-20879

Additional instructions are on the wiki page -
https://wiki.secondlife.com/wiki/User:Robin_Cornelius/viewer-development_VC2005_Express
, these instructions work around fundimental limitations of Express
and the fixes i have documented would then apply to any viewer branch
in future so they can be considered system wide fixes. I do not
believe these workarounds should be corrected in the viewer code, it
is not something the viewer is doing wrong.

If you decide to try to build 2008, please note that express users
still need the winres.h fix from the above wiki link and also you need
to copy the precompiled boost libs detailed at the end of
http://jira.secondlife.com/browse/VWR-9541.

My test environments have completed builds to an installer sucessfully
with 2005 and 2008 Express.

There is one final issue if you use 2008 express which i believe at
this time is out side the scope of viewer fixes. The LL supplied
prebuild libs are build against VC80 CRT v 4053, if you build with
2008 you will have dependencies on both the VC80 4053 CRT and your
current VC90 CRT. So the installer if distributed to a 3rd party may
fail to run as it will not copy the VC80 CRT to the installer. If and
when LL decide to update to 2008 internally this should all just fall
in to place without changes.

Thanks


More information about the opensource-dev mailing list