Cita:
Iniciado por Anarko requerimientos para gyp
Para
serialport se requiere si o si:
- PyThon 2.x
- Microsoft Visual 2010 Express
- .NET 4
- WIN SDK
En mi caso, me devuelve este error:
Código:
serialport.cpp
serialport_unix.cpp
serialport_win.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled.
Specify /EHsc [C:\Users\YO\AppData\Roaming\npm\node_modules\serialport\build\se
rialport.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled.
Specify /EHsc [C:\Users\YO\AppData\Roaming\npm\node_modules\serialport\build\se
rialport.vcxproj]
c:\users\yo\appdata\roaming\npm\node_modules\serialport\src\win/stdafx.h(3): fa
tal error C1083: Cannot open include file: 'atlstr.h': No such file or director
y [C:\Users\YO\AppData\Roaming\npm\node_modules\serialport\build\serialport.vcx
proj]
enumser.cpp
C:\Users\YO\.node-gyp\0.8.21\deps\v8\include\v8.h(183): warning C4506: no defin
ition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handle<
T>)' [C:\Users\YO\AppData\Roaming\npm\node_modules\serialport\build\serialport.
vcxproj]
with
[
T=v8::Object
]
c:\users\yo\appdata\roaming\npm\node_modules\serialport\src\win\stdafx.h(3): fa
tal error C1083: Cannot open include file: 'atlstr.h': No such file or director
y [C:\Users\YO\AppData\Roaming\npm\node_modules\serialport\build\serialport.vcx
proj]
gyp ERR! build error
Ahora me enfrento al error
C++ exception handler used, but unwind semantics are not enabled alguna idea para corregirlo por favor?
Estoy en W7 con PyThon 2.x
Gracias