erikluo / omaha

Automatically exported from code.google.com/p/omaha
Apache License 2.0
0 stars 0 forks source link

Build with Visual Studio 2008 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Visual Studio 2008 instead of 2005
2.
3.

What is the expected output? What do you see instead?
scons: Reading SConscript files ...
Using precompiled headers.
Working on versions: 1.2.163.0
Using compiler version:  1400
C:\Program Files\Microsoft SDKs\Windows\v6.0\vc\lib
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: scons-out
________Compiling resource
scons-out\dbg-win\obj\clickonce\clickonce_bootstrap.r
es
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.

csc.exe /target:winexe /platform:x86
/out:scons-out\dbg-win\obj\clickonce\clicko
nce_bootstrap.exe
/win32res:scons-out\dbg-win\obj\clickonce\clickonce_bootstrap.
res clickonce\clickonce_bootstrap.cs
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.4918
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Studio
        8\VC\lib' specified in 'LIB environment variable' -- 'The system cannot
        find the path specified. '
warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Studio
        8\VC\PlatformSDK\Lib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
warning CS1668: Invalid search path '[]' specified in 'LIB environment
variable'
        -- 'The system cannot find the path specified. '
warning CS1668: Invalid search path 'C:\lib' specified in 'LIB environment
        variable' -- 'The system cannot find the path specified. '
Install file: "scons-out\dbg-win\obj\clickonce\clickonce_bootstrap.exe" as
"scon
s-out\dbg-win\clickonce_deployment\bin\clickonce_bootstrap.exe"
________Compiling resource scons-out\dbg-win\obj\mi_exe_stub\mi.res
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.

mi_exe_stub\mi.rc(16) : fatal error RC1015: cannot open include file
'winres.h'.

scons: *** [scons-out\dbg-win\obj\mi_exe_stub\mi.res] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
SVN rev 41, Windows 7

Please provide any additional information below.
Copying VC 9.0 to VC 8 in Program Files goes by far longer, but gives new
errors, see scons.txt attached.

Original issue reported on code.google.com by espen...@gmail.com on 13 Apr 2009 at 8:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by so...@google.com on 16 Apr 2009 at 2:54

GoogleCodeExporter commented 9 years ago
The code has been updated to build with Visual Studio 2008. Dont't forget to 
call
vcvarsall.bat before running hammer to build it.

Original comment by so...@google.com on 21 Apr 2009 at 6:47

GoogleCodeExporter commented 9 years ago
We are seeing this error as well, even if we had downloaded the latest svn 
source code. 

Any ideas?

Thanks!

Original comment by marcos.a...@gmail.com on 30 Apr 2010 at 11:59