Error During Building Libre Office on windows 10

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Wed Jan 15 13:04:37 UTC 2020


Apoorva Singh kirjoitti 14.1.2020 klo 21.22:
> while running $make 2>&1 | tee build.log i am getting a errors.Here is a 
> part of  error log.Don't know how to resolve this.
>  
> [C:/cygwin/home/HP/lode/dev/core/solenv/gbuild/CppunitTest.mk:114: 
> C:/cygwin/home/HP/lode/dev/core/workdir/CppunitTest/sw_rtfimport.test] 
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2192): 
> error C2065: 'Diff': undeclared identifier
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2192): 
> error C2146: syntax error: missing ';' before identifier 'view'
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2217): 
> error C2065: 'pXmlDoc': undeclared identifier
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2222): 
> error C2065: 'pXmlDoc': undeclared identifier
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2236): 
> error C2374: 'xMetaFile': redefinition; multiple initialization
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2233): 
> note: see declaration of 'xMetaFile'
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2237): 
> error C2086: 'MetafileXmlDump dumper': redefinition
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2234): 
> note: see declaration of 'dumper'
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2238): 
> error C2100: illegal indirection
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2253): 
> error C2059: syntax error: '='
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2259): 
> error C2065: 'pXmlDoc': undeclared identifier
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2263): 
> error C2065: 'nYTop': undeclared identifier
> C:/cygwin/home/HP/lode/dev/core/sw/qa/extras/layout/layout.cxx(2263): 
> error C2660: 'CppUnit::assertDoubleEquals': function does not take 4 
> arguments
> C:\cygwin\home\HP\lode\dev\core\workdir\UnpackedTarball\cppunit\include\cppunit/TestAssert.h(181): 
> note: see declaration of 'CppUnit::assertDoubleEquals'
> make[1]: *** 
> [C:/cygwin/home/HP/lode/dev/core/solenv/gbuild/LinkTarget.mk:296: 
> C:/cygwin/home/HP/lode/dev/core/workdir/CxxObject/sw/qa/extras/layout/layout.o] 
> Error 2
> make: *** [Makefile:282: build] Error 2

I asked in the dev chat and got this feedback: "odd strings - perhaps a 
rebase, merge or manual patch gone wrong?"

Apoorva: can you tell us what exactly you did before your failed build 
attempt? Some git operations?

Ilmari


More information about the LibreOffice mailing list