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

Nicky Perian nickyperian at yahoo.com
Sun Feb 6 18:55:34 PST 2011


Help->About VC++2005 Express Edition->Copy Info-->Paste from Clipboard 
yeilds-->>>>
Microsoft Visual Studio 2005
Version 8.0.50727.867  (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727 SP2

Installed Edition: VC Express

Microsoft Visual C++ 2005   76542-000-0000011-00125
Microsoft Visual C++ 2005
**********************************************************************
Invoke Terminal and execute->>
"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
Yeilds>>>>
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
C:\>


Early on I had a problem where vcvars32.bat did not execute properly when
invoked from within Express. I had to drill down through All Programs
and invoke from within Visual Studio Tools.

You should have "Setting environment for using Microsoft Visual Studio 2005 x86 
tools."
without any errors before using the terminal.

Anyway a couple things to check. I have tried unsucessfully 
to force a repo of failed includes.



________________________________
From: Twisted Laws <twisted_laws at hotmail.com>
To: SLDEV <opensource-dev at lists.secondlife.com>
Sent: Sun, February 6, 2011 3:05:25 PM
Subject: Re: [opensource-dev] Review Request: Make viewer-autobuild work under 
Visual Studio 2005 Express Edition.

 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/60c8afa2/attachment.htm 


More information about the opensource-dev mailing list