Ran into a build error when running vcbuild.bat from the windows SDK 7.0 
command line:

c:\tmp\libuv>vcbuild.bat x64 release
git clone https://git.chromium.org/external/gyp.git build/gyp
Cloning into 'build/gyp'...
remote: Counting objects: 16131, done.
remote: Compressing objects: 100% (3413/3413), done.
rRemote: Total 16131 (delta 10989), reused 16123 (delta 10986)
Receiving objects: 100% (16131/16131), 8.32 MiB | 1.74 MiB/s, done.
Resolving deltas: 100% (10989/10989), done.
Checking connectivity... done.
['-Dtarget_arch=x64', '-Duv_library=static_library', '.\\uv.gyp', '-I', 
'.\\common.gypi', '--depth=.', '-Dhost_arch=AMD64', 
'-Dcomponent=static_library']
Project files generated.
c:\usr\local\libuv\libuv.vcxproj(3,14): error MSB4066: The attribute 
"Label" in element <ItemGroup> is unrecognized.
c:\usr\local\libuv\uv_dtrace_header.vcxproj(3,14): error MSB4066: The 
attribute "Label" in element <ItemGroup> is unrecognized.
c:\usr\local\libuv\uv_dtrace_provider.vcxproj(3,14): error MSB4066: The 
attribute "Label" in element <ItemGroup> is unrecognized.

Googling error MSB4066 led to this question 
<http://stackoverflow.com/questions/14228044/how-to-compile-with-visual-studio-2008-when-visual-studio-2010-is-installed>
 - 
says msbuild is trying to use the wrong .NET framework.  Looking at 
vcbuild.bat, lines 44/45 cause execution to skip over the VS search, 
thus GYP_MSVS_VERSION isn't set. I cleaned out the directory, >SET 
GYP_MSVS_VERSION=2008 and reran, which worked.  I ran into this while 
trying to install pyuv.  I was able to build from source in this manner 
(both individually and as a part of pyuv), but didn't get pip to work...

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to