How to solve the libreoffice build error?

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


Hi, All

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

libreoffice-4.2.4.2\embedserv\source\inc\stdafx.h(22) : fatal error C1083:
Cannot open include file: 'atlbase.h': No such file or directory
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/docholder.o]
Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: ***
[D:/0-Office-Work/Source/libreoffice-4.2.4.2/workdir/CxxObject/embedserv/source/embed/ed_idataobj.o]
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
http://dev-www.libreoffice.org/bin/cygwin/make 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
    ./autogen.sh
--with-ant-home=/cygdrive/d/0-Office-Work/Tools/apache-ant-1.9.4/
--without-junit --disable-activex --disable-directx --enable-dbgutil
--without-help --without-myspell-dicts --without-doxygen
    time make

Please help me. Thanks.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140709/8a320e6e/attachment.html>


More information about the LibreOffice mailing list