<div dir="auto">I tried to build it.. But it's giving the same error</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 5 Jul, 2020, 1:36 PM Ilmari Lauhakangas, <<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So were the instdir and workdir removed anyway? You can run make now and <br>
it builds happily?<br>
<br>
Ilmari<br>
<br>
anshu khare kirjoitti 5.7.2020 klo 8.58:<br>
> On running make clean, the output is :<br>
> <br>
> <br>
> rm -fr C:/build/test-install<br>
> make: rm: No such file or directory<br>
> make: *** [Makefile:177: clean-host] Error 127<br>
> <br>
> <br>
> <br>
> <br>
> On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas <br>
> <<a href="mailto:ilmari.lauhakangas@libreoffice.org" rel="noreferrer noreferrer" target="_blank">ilmari.lauhakangas@libreoffice.org</a> <br>
> <mailto:<a href="mailto:ilmari.lauhakangas@libreoffice.org" rel="noreferrer noreferrer" target="_blank">ilmari.lauhakangas@libreoffice.org</a>>> wrote:<br>
> <br>
> --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>
> ><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<br>
> 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<br>
> are using<br>
> > it from C (or vice<br>
> 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<br>
> 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<br>
> 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<br>
> <<a href="mailto:glogow@fbihome.de" rel="noreferrer noreferrer" target="_blank">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" rel="noreferrer noreferrer" target="_blank">glogow@fbihome.de</a>><br>
> > <mailto:<a href="mailto:glogow@fbihome.de" rel="noreferrer noreferrer" target="_blank">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" rel="noreferrer noreferrer" 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<br>
> 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<br>
> 32-bit<br>
> > Windows, and a 64-bit SDK if you are building for 64-bit<br>
> Windows (with<br>
> > --enable-64-bit).<br>
> ><br>
> > You can use --with-jdk-home=/cygdrive/c/Program<br>
> 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" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a>><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer noreferrer 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" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a>><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
> <br>
> <br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> <a href="mailto:LibreOffice@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer noreferrer 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" rel="noreferrer noreferrer" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>