atlbase.h

  • Revision slug: atlbase.h
  • Revision title: atlbase.h
  • Revision id: 66105
  • Created:
  • Creator: Ted_Mielczarek
  • Is current revision? No
  • Comment /* Use the Windows 2003 SDK */

Revision Content

This page is linked from the build system. Do not remove it without making sure it links to useful information for building Firefox 3

atlbase.h is a header file which is provided by the Microsoft Active Template Library.

The error "System header atlbase.h is not available" indicates that your do not have a copy of ATL in your INCLUDE directory. There are several ways you can solve this problem:

Use the Professional Version of Microsoft Visual C++

The profesional version of Microsoft Visual C++ comes with ATL headers.

Use the Windows 2003 SDK

The Windows 2003 SDK is a free download and comes with ATL headers.

{{ Warning("Unfortunately, the Windows Vista or Windows 2008 SDKs are required to build Mozilla normally, because of dependencies on Vista-specific APIs. MozillaBuild 1.3 will allow you to use both a Vista SDK and an older Platform SDK to work around this issue.") }}

Disable code that uses ATL

ATL is used by only a small portion of our codebase. You should be able to disable these features and do a build without ATL:

ac_add_options --disable-xpconnect-idispatch
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-accessibility

Revision Source

<p><span class="comment">This page is linked from the build system. Do not remove it without making sure it links to useful information for building Firefox 3</span>
</p><p>atlbase.h is a header file which is provided by the Microsoft Active Template Library.
</p><p>The error "System header atlbase.h is not available" indicates that your do not have a copy of ATL in your INCLUDE directory. There are several ways you can solve this problem:
</p>
<h4 name="Use_the_Professional_Version_of_Microsoft_Visual_C.2B.2B"> Use the Professional Version of Microsoft Visual C++ </h4>
<p>The profesional version of Microsoft Visual C++ comes with ATL headers.
</p>
<h4 name="Use_the_Windows_2003_SDK"> Use the Windows 2003 SDK </h4>
<p>The Windows 2003 SDK is a free download and comes with ATL headers.
</p><p>{{ Warning("Unfortunately, the Windows Vista or Windows 2008 SDKs are required to build Mozilla normally, because of dependencies on Vista-specific APIs. MozillaBuild 1.3 will allow you to use both a Vista SDK and an older Platform SDK to work around this issue.") }}
</p>
<h4 name="Disable_code_that_uses_ATL"> Disable code that uses ATL </h4>
<p>ATL is used by only a small portion of our codebase. You should be able to disable these features and do a build without ATL:
</p>
<pre class="eval">ac_add_options --disable-xpconnect-idispatch
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-accessibility
</pre>
Revert to this revision