Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

atlstr.h Not Found with VS2015 error #13

Closed
gauthamn28 opened this issue Aug 11, 2015 · 4 comments
Closed

atlstr.h Not Found with VS2015 error #13

gauthamn28 opened this issue Aug 11, 2015 · 4 comments

Comments

@gauthamn28
Copy link

I saw that you had added support for Node.js v0.12.x. I currently have node.js version - v0.12.4 and node-gyp - 2.0.2 . I have Visual Studio 2015.

I am getting the following error when installing the module -

..\src\detection_win.cpp(5): fatal error C1083: Cannot open include file: 'atlstr.h': No such file or directory [C:\Users\gauthamn\node_modules\usb-detection\build\detection.vcxproj]

@gauthamn28 gauthamn28 changed the title atlstr.h Not Found with VS2012 error atlstr.h Not Found with VS2015 error Aug 11, 2015
@MadLittleMods
Copy link
Owner

From some googling, atlstr.h is part of the ATL library which gets included with some VS installs. Which version of VS exactly do you have?

In my VS installs I can find it in this place:

  • C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atlstr.h

Here are some links that helped me investigate your issue:

@gauthamn28
Copy link
Author

Thanks for the help. The problem was that I had the express version but I
needed the Complete version for it to work.

On Tue, Aug 11, 2015 at 5:17 PM, Eric Eastwood [email protected]
wrote:

Closed #13 #13
.


Reply to this email directly or view it on GitHub
#13 (comment)
.

@MadLittleMods
Copy link
Owner

@gauthamn28 Thank you for the follow-up :) - I'm glad you got it working!

@lishichao1002
Copy link

lishichao1002 commented Sep 14, 2018

same question, i change the msvs_version from 2015 to 2017, it works
npm config set msvs_version 2017

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

No branches or pull requests

3 participants