[Libreoffice] Building libreoffice on windows

Stuart Ledwich (Hotmail) stuart_ledwich at hotmail.com
Thu Jun 30 02:11:37 PDT 2011


I am attempting to build libre in debug mode on windows and after quite
some time I have hit the following problem:

	cl  -MDd -W3 -nologo -I. -I..  -I. -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/stl -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/external -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc -IH:/src/libre/bootstrap/solenv/wntmsci12/inc -IH:/src/libre/bootstrap/solenv/inc -IH:/src/libre/bootstrap/res -IC:/PROGRA~1/Java/JDK15~1.0_2/include/win32 -IC:/PROGRA~1/Java/JDK15~1.0_2/include -IH:/winsdk71/include -IC:/PROGRA~1/MICROS~1.0/VC/include -IF:/MICROS~1/include -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\glib-2.0 -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\cairo -LD -Fepangocairolo.dll pangocairo-context.obj  pangocairo-font.obj  pangocairo-fontmap.obj  pangocairo-render.obj  pangocairo-win32font.obj  pangocairo-win32fontmap.obj H:/src/libre/bootstrap/solver/350/wntmsci12.pro\lib\glib-2.0.lib		 H:/src/libre/bootstrap/solver/350/wntmsci12.pro\lib\gobject-2.0.lib	 H:/src/libre/bootstrap/solver/350/wntmsci12.pro\lib\gmodule-2.0.lib H:/src/libre/bootstrap/solver/350/wntmsci12.pro\lib\intl.lib  pango-1.0.lib H:/src/libre/bootstrap/solver/350/wntmsci12.pro\lib\cairo.lib  pangowin32-1.0.lib  user32.lib gdi32.lib advapi32.lib /link /machine:ix86 /debug /nodefaultlib:msvcrt.lib /implib:pangocairo-1.0.lib /def:pangocairo.def
LINK : fatal error LNK1104: cannot open file 'pango-1.0.lib'
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.EXE' : return code '0x2'


I have also pulled this which I think is related in build-error.log

log for /cygdrive/h/src/libre/bootstrap/pango
if [ -f ./wntmsci12.pro/misc/build/pango-1.28.3.exists ] ; then mv ./wntmsci12.pro/misc/build/pango-1.28.3 ./wntmsci12.pro/misc/build/pango-1.28.3_removeme ; fi
make writeable...
patching file pango-1.28.3/configure
patching file pango-1.28.3/pango/makefile.msc
Hunk #3 succeeded at 33 (offset 3 lines).
Hunk #11 succeeded at 270 (offset -7 lines).
patching file pango-1.28.3/pango/module-defs-win32.c
patching file pango-1.28.3/pango/pango-enum-types.c
patching file pango-1.28.3/pango/pango-enum-types.h
patching file pango-1.28.3/pango/pango-language.c
patching file pango-1.28.3/pango/pango-utils.c
patching file pango-1.28.3/pango/pango.def
patching file pango-1.28.3/config.h
patching file pango-1.28.3/msvc_recommended_pragmas.h
sleep 2
mkdir: cannot create directory `./wntmsci12.pro/misc/build/pango-1.28.3/./pango': File exists

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

	for %d in (pango pangowin32 pangocairo) do nmake -nologo -f makefile.msc sub-one-dll THIS=%d

H:\src\libre\bootstrap\clone\libs-extern-sys\pango\wntmsci12.pro\misc\build\pango-1.28.3\pango>nmake -nologo -f makefile.msc sub-one-dll THIS=pango 
	nmake -nologo -f makefile.msc pangolo.dll PACKAGE=pango OBJS_pango=1
	F:/cygwin/bin/perl H:/src/libre/bootstrap/solver/350/wntmsci12.pro\bin\glib-mkenums   --fhead "#include <pango.h>"  --fprod "\n/* enumerations from \"@filename@\" */"  --vhead "GType\n at enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G at Type@Value values[] = {" 	 --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" },"  --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_ at type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n"  pango.h		    pango-attributes.h  pango-break.h	    pango-context.h	    pango-coverage.h    pango-engine.h	    pango-font.h        pango-fontmap.h	    pango-fontset.h     pango-glyph.h	    pango-glyph-item.h  pango-gravity.h     pango-item.h	    pango-layout.h	    pango-modules.h	    pango-renderer.h    pango-script.h	    pango-tabs.h	    pango-types.h	    pango-utils.h	    pangofc-font.h	    pangofc-fontmap.h > pango-enum-types.c
	cl  -MDd -W3 -nologo -I. -I..  -I. -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/stl -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/external -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc -IH:/src/libre/bootstrap/solenv/wntmsci12/inc -IH:/src/libre/bootstrap/solenv/inc -IH:/src/libre/bootstrap/res -IC:/PROGRA~1/Java/JDK15~1.0_2/include/win32 -IC:/PROGRA~1/Java/JDK15~1.0_2/include -IH:/winsdk71/include -IC:/PROGRA~1/MICROS~1.0/VC/include -IF:/MICROS~1/include -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\glib-2.0 -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\cairo -GD -c -FI..\msvc_recommended_pragmas.h -I. -I..  -I. -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/stl -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/external -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc -IH:/src/libre/bootstrap/solenv/wntmsci12/inc -IH:/src/libre/bootstrap/solenv/inc -IH:/src/libre/bootstrap/res -IC:/PROGRA~1/Java/JDK15~1.0_2/include/win32 -IC:/PROGRA~1/Java/JDK15~1.0_2/include -IH:/winsdk71/include -IC:/PROGRA~1/MICROS~1.0/VC/include -IF:/MICROS~1/include -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\glib-2.0 -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external\cairo  -DPACKAGE=\"Pango\" -DVERSION=\"1.0\"  -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE  -DMODULE_VERSION=\"1.6.0\"  -I ..\glib -I ..\glib\glib -I ..\glib\gmodule -I H:/src/libre/bootstrap/solver/350/wntmsci12.pro\inc\external  -I. -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/stl -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc/external -IH:/src/libre/bootstrap/solver/350/wntmsci12.pro/inc -IH:/src/libre/bootstrap/solenv/wntmsci12/inc -IH:/src/libre/bootstrap/solenv/inc -IH:/src/libre/bootstrap/res -IC:/PROGRA~1/Java/JDK15~1.0_2/include/win32 -IC:/PROGRA~1/Java/JDK15~1.0_2/include -IH:/winsdk71/include -IC:/PROGRA~1/MICROS~1.0/VC/include -IF:/MICROS~1/include -I ../libiconv-1.7\include    -DSYSCONFDIR=\"/etc\"  -DPANGO_BINARY_AGE=0 	 -DLIBDIR=\".\\\\\" pango-enum-types.c
cl : Command line warning D9002 : ignoring unknown option '-GD'
pango-enum-types.c
c1 : fatal error C1083: Cannot open source file: 'pango-enum-types.c': No such file or directory
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\nmake.EXE' : return code '0x2'
Stop.

Any help much appreciated. thanks



More information about the LibreOffice mailing list