How to solve the build error?

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

I used following instructions to build it.
    mkdir -p /opt/lo/bin/make
    cd $(SRC_ROOT)\Tools\dev-tools\make-3.82-gbuild
    ./configure
    make
    cp ./make.exe /bin/
    cp ./make.exe /usr/bin/
    cp ./make.exe /usr/local/bin/make.exe
    cp ./make.exe /opt/lo/bin/make.exe
    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.

Hi Zhen,

I think, this list is inappropriate. You should try it on the developer list or chat, see part "if you need help getting started,.." on https://wiki.documentfoundation.org/Development.

Kind regards
Regina

Zhen Anddavid schrieb: