[opensource-dev] Review Request: Make viewer-autobuild work under Visual Studio 2005 Express Edition.

Twisted Laws twisted_laws at hotmail.com
Sun Feb 6 13:05:25 PST 2011


I tried making these changes...   it did not do anything different or help me in my situation of not finding the windows.h and winsock2.h. 

 I'd start over and rebuild the dev environment but its not a good option for me at this time.
 
> Date: Sun, 6 Feb 2011 20:23:41 +0000
> From: ima.mechanique at blueyonder.co.uk
> To: opensource-dev at lists.secondlife.com
> Subject: Re: [opensource-dev] Review Request: Make viewer-autobuild work under Visual Studio 2005 Express Edition.
> 
> > What is your windows OS? I may be able to Vbox/VM it to test.
> 
> WinXP 64 bit.
> 
> The following altered function from indra\lib\python\indra\util\test_win32_manifest.py
> fixes the issues for me.
> 
> def find_vc_dir():
> supported_versions = (r'8.0', r'9.0')
> supported_products = (r'VisualStudio', r'VCExpress')
> value_str = (r'ProductDir')
> 
> for product in supported_products:
> for version in supported_versions:
> key_str = (r'SOFTWARE\Microsoft\%s\%s\Setup\VC' %
> (product, version))
> try:
> return get_HKLM_registry_value(key_str, value_str)
> except WindowsError, err:
> if product == "VisualStudio":
> reg_key = "VS"
> elif product == "VCExpress":
> reg_key = "VC"
> else:
> raise Exception("Unknown package!")
> 
> x64_key_str = (r'SOFTWARE\Wow6432Node\Microsoft\%s\%s\Setup\%s' %
> (product, version, reg_key))
> 
> try:
> return get_HKLM_registry_value(x64_key_str, value_str)
> except:
> print >> sys.stderr, "Didn't find MS %s version %s " % (product,version)
> 
> raise
> 
> 
> > ________________________________
> > From: Ima Mechanique <ima.mechanique at blueyonder.co.uk>
> > To: opensource-dev at lists.secondlife.com
> > Sent: Sun, February 6, 2011 1:15:31 PM
> > Subject: Re: [opensource-dev] Review Request: Make viewer-autobuild work under 
> > Visual Studio 2005 Express Edition.
> > 
> > > I'm getting dozens of these errors
> > > 
> > > fatal error C1083: Cannot open include file: 'winsock2.h': No such file or 
> > >directory
> > > 
> > > and
> > > 
> > > fatal error C1083: Cannot open include file: 'windows.h': No such file or 
> > >directory
> > > 
> > > Seems that it is not using the Include directories list.
> > 
> > Just to clarify. These errors are only generated when using "autobuild
> > build -c VCexpressRelWithDebInfo" If using the MSVC Express gui it
> > builds with only the usual niggles (like failing on x64 because it can't
> > find a directory)
> > 
> > 
> > --
> > Ima Mechanique
> > ima.mechanique(at)blueyonder.co.uk
> > 
> > 
> > _______________________________________________
> > Policies and (un)subscribe information available here:
> > http://wiki.secondlife.com/wiki/OpenSource-Dev
> > Please read the policies before posting to keep unmoderated posting privileges
> > 
> > 
> > 
> > 
> 
> --
> Ima Mechanique
> ima.mechanique(at)blueyonder.co.uk
> 
> 
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110206/9ff83aaf/attachment.htm 


More information about the opensource-dev mailing list