How to solve the libreoffice build error?

Zhen Anddavid zhenanddavid at
Wed Jul 9 06:19:04 PDT 2014

Hi, All

I'm trying to build the LibreOffice source.
But while building, I met the error.
The error follows as below.

libreoffice-\embedserv\source\inc\stdafx.h(22) : fatal error C1083:
Cannot open include file: 'atlbase.h': No such file or directory
make[1]: ***
Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: ***
Error 2
make: *** [build] Error 2

There is "atlbase.h" file in "C:\Program Files\Microsoft Visual Studio
10.0\VC\atlmfc\include" on my computer.
My build environment follows as below.
Windows 7 SP1 (32bit), Visual Studio 2010 Ultimate SP1, cygwin

And I downloaded the make.exe from and copied it /opt/lo/bin,
/bin, /usr/bin, /usr/local/bin folders.
Then, I used following instructions to build it.
    cd $(SRC_ROOT)
    chmod 755 * -R
--without-junit --disable-activex --disable-directx --enable-dbgutil
--without-help --without-myspell-dicts --without-doxygen
    time make

Please help me. Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list