Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building native extension throws exception #48

Closed
auchenberg opened this issue Aug 10, 2016 · 4 comments
Closed

Building native extension throws exception #48

auchenberg opened this issue Aug 10, 2016 · 4 comments
Labels

Comments

@auchenberg
Copy link
Contributor

Running gulp build

Log:

[16:54:50] Finished 'buildnativeprojects' after 9.59 s
[16:54:50] Starting 'buildnativeaddon'...
[16:54:55] Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
[16:54:55]   stdafx.cpp
[16:54:55]   EdgeFunctions.cpp
[16:54:55]   MessageReceiver.cpp
[16:54:55]   win_delay_load_hook.cc
[16:54:55] c:\users\kennau\appdata\local\lxss\root\edge-diagnostics-adapter\native\addon\MessageReceiver.h(40): error C2653: 'AsyncProgressWorker': is not a class or namespace name (compiling source file ..\MessageReceiver.cpp) [C:\Users\kennau\AppData\Local\lxss\root\edge-diagnostics-adapter\native\Addon\build\Addon.vcxproj]
[16:54:55] c:\users\kennau\appdata\local\lxss\root\edge-diagnostics-adapter\native\addon\MessageReceiver.h(40): error C2653: 'AsyncProgressWorker': is not a class or namespace name (compiling source file ..\EdgeFunctions.cpp) [C:\Users\kennau\AppData\Local\lxss\root\edge-diagnostics-adapter\native\Addon\build\Addon.vcxproj]
[16:54:55] ..\EdgeFunctions.cpp(391): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [C:\Users\kennau\AppData\Local\lxss\root\edge-diagnostics-adapter\native\Addon\build\Addon.vcxproj]
@nojvek
Copy link
Contributor

nojvek commented Aug 11, 2016

Interesting. You have the win10 sdk installed?

@auchenberg
Copy link
Contributor Author

Yup. Looks like a node-gyp related thing. Do I miss some node specific bindings/libs/sdks?

@auchenberg
Copy link
Contributor Author

Solved by installing https://github.com/felixrieseberg/windows-build-tools

@auchenberg
Copy link
Contributor Author

Fixed inhttps://github.com/Microsoft/edge-diagnostics-adapter/commit/0c70a75007475ad64e0c45e8fc2130b398c85ba7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants