[Libreoffice] Error compiling LibreOffice for Win32 (WinXP) - module: shell

Robert Sedak robert.sedak at sk.t-com.hr
Wed Oct 6 12:22:02 PDT 2010


 Hi Jesús,

On 6.10.2010 12:22, Jesús Corrius wrote:
> Hi Robert,
>
> On Wed, Oct 6, 2010 at 8:56 AM, Robert Sedak <robert.sedak at sk.t-com.hr> wrote:
>>
>> Hello to all,
>>
>> I have error in compiling module shell.
>> Please can you see what is the problem?
>>
>> System: Windows XP
>> Compiling via Cygwin
>> autogen parameters:
>> ./autogen.sh  --with-distro=LibreOfficeWin32 --with-git
>> --with-num-cpus=2 --disable-odk  --disable-build-mozilla
>> --with-lang="hr" --with-use-shell=bash --disable-activex --with-win32
>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
>> --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5"
>> --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin"
>> --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1"
>> --with-ant-home=/apache-ant-1.7.1
>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.6.0_18"
>> --with-nsis-path="/cygdrive/c/Program Files/NSIS"
>> --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1"
>> --disable-atl --disable-nss-module --without-junit --disable-fetch-external
>>
>> Entering
>> /cygdrive/f/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/shell/source/all/zipfile
>> Making:    all_zipfile.dpslo
>> Compiling: shell/source/all/zipfile/cl : Command line error D8038 :
>> invalid argument '-I. -I../../../wntmsci12.pro/inc/zipfile -I../inc
>> -I../../../inc/pch -I../../../inc -I../../../WIN/inc
>> -I../../../wntmsci12.pro/inc -I.
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solver/330/wntmsci12.pro/inc
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solver/330/wntmsci12.pro/inc/external
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solver/330/wntmsci12.pro/inc
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solenv/wntmsci12/inc
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solenv/inc
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/res
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solver/330/wntmsci12.pro/inc
>> -IC:/PROGRA~1/Java/JDK16~1.0_1/include/win32
>> -IC:/PROGRA~1/Java/JDK16~1.0_1/include
>> -IC:/PROGRA~1/MICROS~3/Windows/v6.1/include
>> -IC:/PROGRA~1/MICROS~1.0/VC/include -IC:/PROGRA~1/MIABE2~1/include
>> -IC:/PROGRA~1/MIABE2~1/include
>> -IF:/cygwin/Robert/LibO/build/build/libreoffice-3.2.99.1/solver/330/wntmsci12.pro/inc/offuh
>> -I. -I../../../res -I.'
>> dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/zipfile.obj'
> The errors in the two messages are exactly the same, so I will only
> comment on this one.
>
> I tried to reproduce the the error in my Windows XP (all current
> Service Packs and patches installed) using the same command line
> options you are using and my system works. Can you give us more
> information about your system?
>
> Regards,
Thank you for answer.
I contacted Fridrich via IRC before I got jour message.
He assumed that path lenght is to big.

In this case soution is command :
substr o: f:\cygwin\Robert\LibO\build\
in windows command line.
After that in Cygwin I use path /cygdrive/o.

Best,
Robert Sedak


More information about the LibreOffice mailing list