[Olympus developers 357]: Re: SimpleAudio error involving with 'atlbase.h'

Erel Segal Halevi erelsgl at gmail.com
Wed Jun 6 07:13:44 EDT 2012


I have the same problem as quoted below.

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.

However, I have Visual Studio 2010 Professional, and actually I DO have the
file "atlbase.h" in this path:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include"

Why does the compiler not find it?

(P.S. also note the warning: "option 'Wp64' has been deprecated and will be
removed in a future release").





Here is the relevant part of my build.log:

BUILD_CONF... Release
BUILD_TYPE... Build
OLYMPUS_ROOT... .
BUILD_LOG... build.log
CMAKE_PARAMS...
LOGIOS_ROOT... Tools\logios
Detecting platform in use... Windows
Searching for File::Spec Perl Module... Found
Searching for File::Copy Perl Module... Found
Searching for IPC::Open3 Perl Module... Found
Searching for IO::Handle Perl Module... Found
Searching for Getopt::Long Perl Module... Found
Searching for Win32 Perl Module... Found
Searching for Win32::API Perl Module... Found
Searching for Win32::TieRegistry Perl Module... Found
Searching for Windows SDK 6.1 (for Windows Server 2008) or newer... Found
v7.0
Searching for the SimpleAudio SAPI Example Project... Found
Creating bin\x86-nt directory for build output... Done
Searching for TortoiseSVN... Found
Checking if the project is using CMake... Yes
Searching for CMake 2.6 or higher... Searching for maximum valid Visual
Studio version... Visual Studio 2008 Found
Searching for Sun Java JDK... Found
Searching for NetBeans Ant... Found 7.1

Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe"
"C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f

SubWCRev: 'C:\olympus'

Last committed at revision 3671

Updated to revision 3786

Local modifications found


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"

Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729
Copyright (C) Microsoft Corporation. All rights reserved.

1>Build started: Project: SimpleAudio, Configuration: Release|Win32
1>Creating Type Library...
1>Processing .\SimpleAudio.idl
1>SimpleAudio.idl
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.idl
1>oaidl.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\objidl.idl
1>objidl.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\unknwn.idl
1>unknwn.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\wtypes.idl
1>wtypes.idl
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\basetsd.h
1>basetsd.h
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\guiddef.h
1>guiddef.h
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.idl
1>ocidl.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\oleidl.idl
1>oleidl.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\servprov.idl
1>servprov.idl
1>Processing C:\Program Files\Microsoft
SDKs\Windows\v7.0\\include\urlmon.idl
1>urlmon.idl
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\msxml.idl
1>msxml.idl
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\sapi.idl
1>sapi.idl
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.acf
1>oaidl.acf
1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.acf
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 "file://c:\Program 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)

Build complete: 0 Projects succeeded, 1 Projects failed, 0 Projects skipped
Problem building Visual Studio Solution: SimpleAudio.sln.
Problem building the required SAPI SimpleAudio DLL example.
Was it installed correctly?


----

*roni.benaharon at gm.com* roni.benaharon at gm.com
<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=>
*Sun Sep 12 10:09:05 EDT 2010*

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 "file://c:\Program 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120606/b8af4996/attachment-0001.html


More information about the Olympus-developers mailing list