<div dir="auto">Could you please tell me the exact command? </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 5 Jul, 2020, 6:37 PM Ilmari Lauhakangas, <<a href="mailto:ilmari.lauhakangas@libreoffice.org">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">Yes, it was already discussed, but they used the wrong make for make <br>
clean. It was my mistake not to give the exact command.<br>
<br>
Ilmari<br>
<br>
Arnaud Versini kirjoitti 5.7.2020 klo 15.05:<br>
> Hello,<br>
> <br>
> Dix you update Visual Studio recently?<br>
> <br>
> After each MSVC update you need to make clean to rebuild pre compiled <br>
> headers.<br>
> <br>
> Le dim. 5 juil. 2020 à 11:17, anshu khare <<a href="mailto:anshukhare50@gmail.com" target="_blank" rel="noreferrer">anshukhare50@gmail.com</a> <br>
> <mailto:<a href="mailto:anshukhare50@gmail.com" target="_blank" rel="noreferrer">anshukhare50@gmail.com</a>>> a écrit :<br>
> <br>
> To be specific the error when i run<br>
> <br>
> /opt/lo/bin/make gb_COLOR=1<br>
> <br>
> is<br>
> <br>
> <br>
> C:/sources/libo-core/sal/osl/all/debugbase.cxx: fatal error C1853:<br>
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'<br>
> precompiled header file is from a different version of t<br>
> he compiler, or the precompiled header is C++ and you are using it<br>
> from C (or vice<br>
> versa)C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal<br>
> 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<br>
> is C++ and you are using it from C (or vice versa)C:/so<br>
> urces/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 the com<br>
> piler, or the precompiled header is C++ and you are using it from C<br>
> (or vice versa)<br>
> <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<br>
> C (or vice versa)<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]: *** Waiting for unfinished jobs....<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[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/filepath.o] Error 2<br>
> make: *** [Makefile:282: build] Error 2<br>
> <br>
> <br>
> <br>
> On Sun, Jul 5, 2020 at 1:36 PM Ilmari Lauhakangas<br>
> <<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a><br>
> <mailto:<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a>>> wrote:<br>
> <br>
> So were the instdir and workdir removed anyway? You can run make<br>
> 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" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a><br>
> <mailto:<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a>><br>
> > <mailto:<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a><br>
> <mailto:<a href="mailto:ilmari.lauhakangas@libreoffice.org" target="_blank" rel="noreferrer">ilmari.lauhakangas@libreoffice.org</a>>>> wrote:<br>
> ><br>
> > --enable-pch makes it use precompiled headers. The error<br>
> 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>
> > > <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<br>
> update<br>
> > ><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<br>
> error C1853:<br>
> > ><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<br>
> are using it<br>
> > from C<br>
> > > (or vice versa)<br>
> > ><br>
> C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal error<br>
> > > C1853:<br>
> > ><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++<br>
> 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<br>
> header file is<br>
> > > from a different version of the compiler, or the<br>
> 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<br>
> error C1853:<br>
> > ><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<br>
> using it<br>
> > from C<br>
> > > (or vice versa)<br>
> > > make[1]: ***<br>
> [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]: ***<br>
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:<br>
> > ><br>
> C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2<br>
> > > make[1]: ***<br>
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:<br>
> > > C:/build/workdir/CxxObject/sal/osl/all/debugbase.o]<br>
> Error 2<br>
> > > make[1]: ***<br>
> [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" target="_blank" rel="noreferrer">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a>><br>
> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a>>><br>
> > > <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a>><br>
> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">glogow@fbihome.de</a> <mailto:<a href="mailto:glogow@fbihome.de" target="_blank" rel="noreferrer">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<br>
> machine type 'x86'<br>
> > ><br>
> > > Quote: "Make sure to get a 32-bit SDK if you are<br>
> building for<br>
> > 32-bit<br>
> > > Windows, and a 64-bit SDK if you are building for<br>
> 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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>><br>
> > <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>>><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>><br>
> > <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>>><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a>><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="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" target="_blank" rel="noreferrer">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>