ATL-based C++ projects fail to build
Check out: https://ci.appveyor.com/project/fakepaulbetts/squirrel-windows-next/build/1.0.4 (source at https://github.com/Squirrel/Squirrel.Windows.Next)
As part of this build, we build an WTL-based application, which requires ATL. However, builds on AppVeyor fail (perhaps ATL isn't installed?)
c:\projects\squirrel-windows-next\src\setup\stdafx.h(22): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory [C:\projects\squirrel-windows-next\src\Setup\Setup.vcxproj]
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 01 Aug, 2014 12:48 PM
OK, will take a look what's missing.
2 Posted by Paul Betts on 01 Aug, 2014 12:57 PM
You may have to step back a commit or two (or switch the configuration from
CIBuild to Release), I created a new profile that excluded the C++ project
(sorry to troll you!)
Paul
Support Staff 3 Posted by Feodor Fitsner on 03 Aug, 2014 12:05 PM
Hi Paul,
We have Visual Studio Express editions on build workers and it's seems ATL is not available with Express: http://msdn.microsoft.com/en-us/library/windows/hardware/dn653318(v...
4 Posted by Cheng Zhao on 07 Aug, 2014 03:43 PM
WDK 7.1 includes ATL's headers and libs, I think it is very reasonable to install it in the workers since many C++ programs require ATL.
Support Staff 5 Posted by Feodor Fitsner on 07 Aug, 2014 04:46 PM
OK, WDK 7.1 has been installed on build workers and is available in default location:
C:\WinDDK\7600.16385.1.6 Posted by Cheng Zhao on 08 Aug, 2014 02:30 AM
That works for me, it is really fast response, thanks!
Support Staff 7 Posted by Feodor Fitsner on 08 Aug, 2014 02:31 AM
Great, thanks for the update!
- Feodor
8 Posted by Paul Betts on 08 Aug, 2014 08:52 AM
This is great! Thanks Feodor - as Cheng said, this is a super fast fix. Thank you so much!
9 Posted by Kevin Sawicki on 19 Sep, 2016 08:11 PM
Saw a few failures today that look like the same issue, not sure if it is related to the today's worker image update or not:
https://ci.appveyor.com/project/Atom/electron/build/2176/job/ngh0sxfrwjx5cqng#L427
```
c:\projects\electron\atom\browser\ui\win\jump_list.h(8): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
```
Support Staff 10 Posted by Feodor Fitsner on 19 Sep, 2016 08:14 PM
Where is the location of that
atlbase.hfile?11 Posted by Kevin Sawicki on 19 Sep, 2016 08:17 PM
I believe it is part of the Windows SDK.
Support Staff 12 Posted by Feodor Fitsner on 19 Sep, 2016 08:19 PM
Which one should be used? There was WDK 10.0.14393 installed: https://www.appveyor.com/updates/2016/09/19/ - maybe it's affected the SDK headers?
13 Posted by Kevin Sawicki on 19 Sep, 2016 08:24 PM
Hmm, maybe this was just an intermitted issue.
I rebuilt the failing build and the same SHA now builds successfully, https://ci.appveyor.com/project/Atom/electron/build/2179/job/6e6fbl...
Support Staff 14 Posted by Feodor Fitsner on 19 Sep, 2016 08:32 PM
That's because we've rolled back images due to a different issue.
Support Staff 15 Posted by Feodor Fitsner on 20 Sep, 2016 05:15 PM
A new image is back and we made sure ATL part is installed in VS 2015.
Interesting though, it looks like there is a bug in VS installation somewhere as sometimes after rolling out updates to VS some of its features get disabled. We reproduced that on two different environments.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:08 AM.