<div dir="ltr">I have the same problem as quoted below. <br><br>I Googled for this error of missing atlbase.h, and found out that it is usually associated with Visual Studio Express 2008, since the express version does not include ATL.<br>
<br>However, I have Visual Studio 2010 Professional, and actually I DO have the file "atlbase.h" in this path:<br>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include"<br><br>Why does the compiler not find it?<br>
<br>(P.S. also note the warning: "<span style="font-family:courier new,monospace">option 'Wp64' has been deprecated and will be removed in a future release</span>").<br><br><br><br><br><br>Here is the relevant part of my build.log:<br>
<br><span style="font-family:courier new,monospace">BUILD_CONF... Release</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">BUILD_TYPE... Build</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">OLYMPUS_ROOT... .</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">BUILD_LOG... build.log</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">CMAKE_PARAMS... </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">LOGIOS_ROOT... Tools\logios</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Detecting platform in use... Windows</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for File::Spec Perl Module... Found</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for File::Copy Perl Module... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for IPC::Open3 Perl Module... Found</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for IO::Handle Perl Module... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for Getopt::Long Perl Module... Found</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for Win32 Perl Module... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for Win32::API Perl Module... Found</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for Win32::TieRegistry Perl Module... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for Windows SDK 6.1 (for Windows Server 2008) or newer... Found v7.0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for the SimpleAudio SAPI Example Project... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Creating bin\x86-nt directory for build output... Done</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for TortoiseSVN... Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Checking if the project is using CMake... Yes</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for CMake 2.6 or higher... Searching for maximum valid Visual Studio version... Visual Studio 2008 Found</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Searching for Sun Java JDK... Found</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Searching for NetBeans Ant... Found 7.1</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" "C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">SubWCRev: 'C:\olympus'</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Last committed at revision 3671</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Updated to revision 3786</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Local modifications found</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Running command: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\simpleAudio\SimpleAudio.sln" /M2 "Release|Win32"</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Copyright (C) Microsoft Corporation. All rights reserved.</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Build started: Project: SimpleAudio, Configuration: Release|Win32</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>Creating Type Library...</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing .\SimpleAudio.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>SimpleAudio.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>oaidl.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\objidl.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>objidl.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\unknwn.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>unknwn.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\wtypes.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>wtypes.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\basetsd.h</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>basetsd.h</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\guiddef.h</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>guiddef.h</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>ocidl.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oleidl.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>oleidl.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\servprov.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>servprov.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\urlmon.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>urlmon.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\msxml.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>msxml.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\sapi.idl</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>sapi.idl</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.acf</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>oaidl.acf</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.acf</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>ocidl.acf</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>Compiling...</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>StdAfx.cpp</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>c:\program files\microsoft sdks\windows\v7.0\samples\winui\speech\simpleaudio\stdafx.h(23) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">1>Build log was saved at "file://c:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\simpleaudio\Release\BuildLog.htm"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">SimpleAudio has 1 errors</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">1>SimpleAudio - 1 error(s), 1 warning(s)</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Build complete: 0 Projects succeeded, 1 Projects failed, 0 Projects skipped</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Problem building Visual Studio Solution: SimpleAudio.sln.</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Problem building the required SAPI SimpleAudio DLL example.</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Was it installed correctly?</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><br>----<br><br><b><a href="mailto:roni.benaharon@gm.com">roni.benaharon@gm.com</a></b>
<a href="mailto:olympus-developers%40mailman.srv.cs.cmu.edu?Subject=%5BOlympus%20developers%20296%5D%3A%20SimpleAudio%20error%20involving%20with%0A%09%27atlbase.h%27&In-Reply-To=" title="[Olympus developers 296]: SimpleAudio error involving with        'atlbase.h'">roni.benaharon at gm.com
</a><br>
<i>Sun Sep 12 10:09:05 EDT 2010</i><br><pre>Hi there,
I am trying to build Olympus (perl OlympusBuild.pl). In the resulted log,
I see that there is one fatal error, which involves with "atlbase.h":
--------------
1>ocidl.acf
1>Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and
will be removed in a future release
1>StdAfx.cpp
1>c:\program files\microsoft
sdks\windows\v7.0\samples\winui\speech\simpleaudio\stdafx.h(23) : fatal
error C1083: Cannot open include file: 'atlbase.h': No such file or
directory
1>Build log was saved at "<a>file://c:\Program</a> Files\Microsoft
SDKs\Windows\v7.0\Samples\winui\speech\simpleaudio\Release\BuildLog.htm"
SimpleAudio has 1 errors
1>SimpleAudio - 1 error(s), 1 warning(s)</pre><br></div>