-
Notifications
You must be signed in to change notification settings - Fork 68
-
Notifications
You must be signed in to change notification settings - Fork 68
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
fatal error C1107 with VS 2017 #65
Comments
Hi, |
Hi and thanks for the answer. If i can ask you a little suggest about how to save time. |
Yes, as far as I know there should be no problem with having VS 2015 and VS 2017 side by side. |
Ok i Will try . should i close the issue? i prefer to check it before, if u agree. Thanks for all. |
Sure, the issue on my side is to have support for VS 2017, so you can leave it open. |
Hi i installed VS 2015 and now the node-gyp return an error TRK0005 and fail to locate CL.exe. I'm sure there is something missing in my installation, on Microsoft tech doc i can read that by default Visual C++ compiler is not installed, so i have to check it during installation. Unfortunately nothing changes after Visual C++ installation, and i still get the TRK0005 error. In other forums and on Stackoverflow other users using node-gyp solved installing the MS build tools 2015. I did the same but nodert module still not find CL.exe. Anyone knows where the nodert module expects to find CL.exe? i'm a little discouraged about this situation. |
cl.exe should be located at this path:
If it's missing from there then you might need to re-install VS2015. |
CL.exe isn't there this is a good thing because i found the problem. The bad thing is that reinstalling from Visual Studio 2015 the installer don't put the compiler in that folder. Infact if i check Visual C++ Common Tools after the installation finished nothing changes (reopened cmd window, rebooted the system,). So i reopened the VS 2015 installer and the Visual C++ Common tools component is unchecked. I think the installation of this component fails, i'm trying uninstalling all Visual C++ component installed during the installation of VS2017. Stay tuned :-) Luigi |
I uninstalled all and reinstalled all and now from NodeRTUI i got the nice popup "Yay! ...". Tested from command line with npm install too, i got not errors with message "Finished generating code". Next step is using with Electron. Thx for your patience and support! |
Happy to hear that. BTW, if you are not dependent on a specific windows SDK version, you can just pick up the modules from NPM instead of generating: https://www.npmjs.com/~nodert-win10 |
As i understood with electron i need to rebuild them with electron-rebuild. Maybe the SDK uses a runtime that electron has just bound with it? If so nice to hear that. However rebuilding from source was a good experience :) UPDATE: i didn't read well, you mean using the generated source directly from npm instead of generating from NodeRTUI... nevermind compilation, sorry :D :D :D |
I'm getting similar failure message with
I tried running Any other ideas for things I can try? |
The version of the npm modules search for the winmd files under
Can you verify that you have a windows.winmd file under that folder? (it's one lever higher than the one that you've mentioned) |
That directory did not contain the file, so I moved the file |
...when attempting to use
|
The modules without the "@nodert-win10" scope are older versions compatible with VS 2013 and Win 8.1. Sorry for the confusion, but instead you can run
And it should solve the issue (note the addition of the @nodert-win10 scope to the module) |
Hi, Thanks! |
As mentioned by @d-rep and this answer One needs to copy from: I honestly don't even understand what this project does. I'm just trying to get a dependency to install correctly. Could we get a proper fix for this? |
@mccxiv please note that this is an open source project, currently maintained voluntarily by the community. If you look for solutions that provide "proper fixes" I'm sure that you can find other alternatives (like writing a native addon). I believe that a recent pull request which I accepted (#102) should have solved this issue. |
Hi, i'm using electron and nodejs native modules to develop an app that use gps. The idea was to read NMEA sentences from serial port. In my Windows 10 envirnoment i can rebuild the serialport native module and using it with electron (using electron-rebuild) and all works well.
Then (a couple of days ago) i see the NodeRT project and i realized that i can use UWP API to use geolocation from electron, i followed the guide but i can't recompile the module for electron (neither simply for node), i got the error shown below and i can't recognize why it happens.
I'm new to Microsoft technologies, i tried a lot of things and nothing works. Can anyone explain me what i have to do?
I'm using Windows 10
I've installed Visual Studio 2017 with all SDKs,
i installed latest Windows10 SDK,
node version 7.10.0
npm version 4.2.0
node-gyp 3.6.1
nodert 2.0.5
The messages are localized for italian language in english should be "could not find assembly..."
This issue was opened and closed also in #56 but in my case after installing latest windows 10 sdk nothing changes.
Any helps is appreciated.
Luigi
The text was updated successfully, but these errors were encountered: