<div dir="ltr">On running make clean, the output is :<div><br></div><div><br></div><div>rm -fr C:/build/test-install<br>make: rm: No such file or directory<br>make: *** [Makefile:177: clean-host] Error 127<br></div><div><br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas <<a href="mailto:ilmari.lauhakangas@libreoffice.org">ilmari.lauhakangas@libreoffice.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">--enable-pch makes it use precompiled headers. The error messages are <br>
quite clear.<br>
<br>
Now you have to run<br>
<br>
make clean<br>
<br>
and then build again.<br>
<br>
Ilmari<br>
<br>
anshu khare kirjoitti 4.7.2020 klo 22.20:<br>
> I ran autogen.sh as shown below :<br>
> <br>
>   /cygdrive/c/sources/libo-core/autogen.sh<br>
>    --with-external-tar=/cygdrive/c/sources/lo-externalsrc<br>
>     --with-junit=/cygdrive/c/sources/junit-4.10.jar<br>
>     --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5<br>
>    --enable-pch --disable-ccache<br>
>    --enable-64-bit<br>
>   --disable-skia<br>
>    --with-jdk-home=/cygdrive/c/ProgramFiles/Java/jdk-13.0.2<br>
> <br>
> It gave the following output :<br>
> <br>
> Host Configuration unchanged - avoiding scp2 stamp update<br>
> Language Configuration unchanged - avoiding scp2 stamp update<br>
> ****************************************************************************<br>
> <br>
> To build, run:<br>
> C:/cygwin64/opt/lo/bin/make<br>
> <br>
> To view some help, run:<br>
> C:/cygwin64/opt/lo/bin/make help<br>
> <br>
> <br>
> Then I ran the following command :<br>
> <br>
> /opt/lo/bin/make gb_COLOR=1<br>
> <br>
> as given in the documentation.<br>
> <br>
> I got the following output :<br>
> <br>
> C:/sources/libo-core/sal/osl/all/filepath.cxx: fatal error C1853: <br>
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch' <br>
> precompiled header file is from a different version of th<br>
> e compiler, or the precompiled header is C++ and you are using it from C <br>
> (or vice versa)<br>
> C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal error <br>
> C1853: <br>
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch' <br>
> precompiled header file is from a different ver<br>
> sion of the compiler, or the precompiled header is C++ and you are using <br>
> it from C (or vice versa)C:/sources/libo-core/sal/osl/all/debugbase.cxx: <br>
> fatal error C1853: 'C:/build/workdir/Precompil<br>
> edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file is <br>
> from a different version of the compiler, or the precompiled header is <br>
> C++ and you are using it from C (or vice versa)<br>
> <br>
> C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853: <br>
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch' <br>
> precompiled header file is from a different version of the<br>
> compiler, or the precompiled header is C++ and you are using it from C <br>
> (or vice versa)<br>
> make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301: <br>
> C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2<br>
> make[1]: *** Waiting for unfinished jobs....<br>
> make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301: <br>
> C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2<br>
> make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301: <br>
> C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2<br>
> make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301: <br>
> C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2<br>
> make: *** [Makefile:282: build] Error 2<br>
> <br>
> <br>
> On Sat, Jul 4, 2020 at 11:52 PM Jan-Marek Glogowski <<a href="mailto:glogow@fbihome.de" target="_blank">glogow@fbihome.de</a> <br>
> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank">glogow@fbihome.de</a>>> wrote:<br>
> <br>
>     Am 04.07.20 um 18:16 schrieb anshu khare:<br>
>      > C:\PROGRA~1\Java\JDK-13~1.2\lib\jawt.lib : warning LNK4272: library<br>
>      > machine type 'x64' conflicts with target machine type 'x86'<br>
> <br>
>     Quote: "Make sure to get a 32-bit SDK if you are building for 32-bit<br>
>     Windows, and a 64-bit SDK if you are building for 64-bit Windows (with<br>
>     --enable-64-bit).<br>
> <br>
>     You can use --with-jdk-home=/cygdrive/c/Program Files/Java/jdk-14.0.1 to<br>
>     select the correct one.<br>
> <br>
> <br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> <a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
> <br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>