Re: [Libreoffice] o3tl/cow_wrapper.hxx not found
(re-formatting the make output for clarity) [ build CXX ] o3tl/qa/cow_wrapper_clients R=c:/cygwin/home/Simon/git O=$R/libo/solver/wntmsci12.pro W=$R/libo/workdir/wntmsci12.pro S=$R/libo Here the build mechanism sets some shell variables that will then be used later on the same command line. (Yeah, weird, but apparently this *is* a good idea, I don't know or recall the details.) mkdir -p $W/CxxObject/o3tl/qa/$W/Dep/CxxObject/o3tl/qa/ /cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK [...], looks fine so far -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res But these are all screwed up, the $O and $S shell variables are not expanded, and even if they were, they are used in locations that don't make sense. You are supposed to see -I flags with the $O and $S expanded. In your case O=c:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro and S=c:/cygwin/home/Simon/git/libo as far as I can see). For instance the first -I option there, -IC:/cygwin$O/inc/stl , would with $O expanded be -IC:/cygwinc:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro/inc/stl which of course makes no sense. There must be something wrong in the gbuild make function mechanisms that mishandles your case. I wonder if it is the fact that you are building in your home directory, does the fact that the build location starts with c:/cygwin confuse some substitution pattern, or something? I will try to investigate. (To compare, I see the following corresponding output: R=c:/ooo/git/master O=$R/core/solver/wntmsci12 W=$R/core/workdir/wntmsci12 S=$R/core [...] -IC:/ooo/git/master/core/solver/wntmsci12/inc/stl -IC:/ooo/git/master/core/solver/wntmsci12/inc/external -IC:/ooo/git/master/core/solver/wntmsci12/inc -IC:/ooo/git/master/core/solenv/wntmsci12/inc -IC:/ooo/git/master/core/solenv/inc -IC:/ooo/git/master/core/res ) --tml ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] o3tl/cow_wrapper.hxx not found
On 9 September 2011 09:19, Tor Lillqvist t...@iki.fi wrote: (re-formatting the make output for clarity) [ build CXX ] o3tl/qa/cow_wrapper_clients R=c:/cygwin/home/Simon/git O=$R/libo/solver/wntmsci12.pro W=$R/libo/workdir/wntmsci12.pro S=$R/libo Here the build mechanism sets some shell variables that will then be used later on the same command line. (Yeah, weird, but apparently this *is* a good idea, I don't know or recall the details.) mkdir -p $W/CxxObject/o3tl/qa/$W/Dep/CxxObject/o3tl/qa/ /cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK [...], looks fine so far -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res But these are all screwed up, the $O and $S shell variables are not expanded, and even if they were, they are used in locations that don't make sense. I had the same problem and was wondering why I'm the only one. You are supposed to see -I flags with the $O and $S expanded. In your case O=c:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro and S=c:/cygwin/home/Simon/git/libo as far as I can see). For instance the first -I option there, -IC:/cygwin$O/inc/stl , would with $O expanded be -IC:/cygwinc:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro/inc/stl which of course makes no sense. There must be something wrong in the gbuild make function mechanisms that mishandles your case. I wonder if it is the fact that you are building in your home directory, does the fact that the build location starts with c:/cygwin confuse some substitution pattern, or something? I will try to investigate. --- a/solenv/gbuild/platform/windows.mk +++ b/solenv/gbuild/platform/windows.mk @@ -234,10 +234,10 @@ endef endif # Helper class -gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') +gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR)) +gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR)) +gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR)) +gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR)) Has solved problem for me I think. There was something else maybe (but only warnings, I'm not sure now what exactly), but this helped to continue building. HTH, Matúš ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] o3tl/cow_wrapper.hxx not found
Hi Matus, all, I made that change, did make clean in o3tl and then make, now there is another error: C:/cygwin/home/Simon/git/libo /workdir/wntmsci12.pro/CxxObject/o3tl/qa/cow_wrapp er_clients.o C:/cygwin/home/Simon/git/libo /workdir/wntmsci12.pro/CxxObject/o3tl /qa/test-cow_wrapper.o C:/cygwin/home/Simon/git/libo /workdir/wntmsci12.pro/CxxO bject/o3tl/qa/test-heap_ptr.o C:/cygwin/home/Simon/git/libo /workdir/wntmsci12.p ro/CxxObject/o3tl/qa/test-range.o C:/cygwin/home/Simon/git/libo /workdir/wntmsci 12.pro/CxxObject/o3tl/qa/test-vector_pool.o LINK : warning LNK4044: unrecognized option '/workdir/wntmsci12.pro/CxxObject/o3 tl/qa/cow_wrapper_clients.o'; ignored LINK : warning LNK4044: unrecognized option '/workdir/wntmsci12.pro/CxxObject/o3 tl/qa/test-cow_wrapper.o'; ignored LINK : warning LNK4044: unrecognized option '/workdir/wntmsci12.pro/CxxObject/o3 tl/qa/test-heap_ptr.o'; ignored LINK : warning LNK4044: unrecognized option '/workdir/wntmsci12.pro/CxxObject/o3 tl/qa/test-range.o'; ignored LINK : warning LNK4044: unrecognized option '/workdir/wntmsci12.pro/CxxObject/o3 tl/qa/test-vector_pool.o'; ignored LINK : fatal error LNK1181: cannot open input file 'C:/cygwin/home/Simon/git/lib o.obj' make: *** [/home/Simon/git/libo/workdir/wntmsci12.pro/LinkTarget/CppunitTest/ite st_o3tl_tests.lib] Error 157 Sorry for the formatting, I need to use webmail on my build machine. I guess I better move the libo tree to another directory out of the cygwin tree and start building from the beginning. If I moved git\libo\... from C:/cygwin/home/Simon/ to C:/ would that be OK? I suppose I need to run autogen.sh and/or make clean after moving the tree? Best regards, Simon Matúš Kukan schreef: On 9 September 2011 09:19, Tor Lillqvist t...@iki.fi wrote: (re-formatting the make output for clarity) [ build CXX ] o3tl/qa/cow_wrapper_clients R=c:/cygwin/home/Simon/git O=$R/libo/solver/wntmsci12.pro W=$R/libo/workdir/wntmsci12.pro S=$R/libo Here the build mechanism sets some shell variables that will then be used later on the same command line. (Yeah, weird, but apparently this *is* a good idea, I don't know or recall the details.) mkdir -p $W/CxxObject/o3tl/qa/$W/Dep/CxxObject/o3tl/qa/ /cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK [...], looks fine so far -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res But these are all screwed up, the $O and $S shell variables are not expanded, and even if they were, they are used in locations that don't make sense. I had the same problem and was wondering why I'm the only one. You are supposed to see -I flags with the $O and $S expanded. In your case O=c:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro and S=c:/cygwin/home/Simon/git/libo as far as I can see). For instance the first -I option there, -IC:/cygwin$O/inc/stl , would with $O expanded be -IC:/cygwinc:/cygwin/home/Simon/git/libo/solver/wntmsci12.pro/inc/stl which of course makes no sense. There must be something wrong in the gbuild make function mechanisms that mishandles your case. I wonder if it is the fact that you are building in your home directory, does the fact that the build location starts with c:/cygwin confuse some substitution pattern, or something? I will try to investigate. --- a/solenv/gbuild/platform/windows.mk +++ b/solenv/gbuild/platform/windows.mk @@ -234,10 +234,10 @@ endef endif # Helper class -gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') -gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR) | $(gb_AWK) -- '{ print tolower(substr($$0,1,1)) substr($$0,2) }') +gb_Helper_SRCDIR_NATIVE := $(shell cygpath -m $(SRCDIR)) +gb_Helper_WORKDIR_NATIVE := $(shell cygpath -m $(WORKDIR)) +gb_Helper_OUTDIR_NATIVE := $(shell cygpath -m $(OUTDIR)) +gb_Helper_REPODIR_NATIVE := $(shell cygpath -m $(REPODIR)) Has solved problem for me I think. There was something else maybe (but only warnings, I'm not sure now what exactly), but this helped to continue building. HTH, Matúš -- Vriendelijke groet, Simon Brouwer -*- nl.openoffice.org -*- http://www.opentaal.org -*- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] o3tl/cow_wrapper.hxx not found
Hi, Trying to build LibreOffice on Windows XP, the build stops in o3tl with the below error. I do have ~/git/libo/o3tl/inc/03tl/cow_wrapper.hxx and in ~/git/libo/o3tl/qa/cow_wrapper_clients.hxx it says #include o3tl/cow_wrapper.hxx Why is the file not found? Best regards Simon Simon@LAPTOP_SIMON ~/git/libo/o3tl $ make [ build CXX ] o3tl/qa/cow_wrapper_clients R=c:/cygwin/home/Simon/git O=$R/libo/solver/wntmsci12.pro W=$R/libo/workdi r/wntmsci12.pro S=$R/libo mkdir -p $W/CxxObject/o3tl/qa/ $W/Dep/CxxObject /o3tl/qa/ /cygdrive/c/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE _CDECL -DCPPU_ENV=msci -DCUI -DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -D ENABLE_LAYOUT_EXPERIMENTAL=0 -DINTEL -DM1500 -DMSC -DNDEBUG -DNT351 -DOPTIMIZE - DOSL_DEBUG_LEVEL=0 -DPRODUCT -DPRODUCT_FULL -DSOLAR_JAVA -DSUPD=350 -DVCL -DWIN3 2 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRIN TFS -D_CRT_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_REENTRANT -D_WIN32_IE=0x0500 -D_X 86_=1 -D_DLL -Gd -GR -Gs -GS -Gy -MD -nologo -Wall -wd4005 -wd4061 -wd4127 -w d4180 -wd4189 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4350 -w d4355 -wd4365 -wd4503 -wd4505 -wd4511 -wd4512 -wd4514 -wd4611 -wd4619 -wd4625 -w d4626 -wd4640 -wd4668 -wd4675 -wd4692 -wd4710 -wd4711 -wd4738 -wd4786 -wd4800 -w d4820 -wd4826 -wd4996 -Zc:forScope,wchar_t- -Zm500-DEXCEPTIONS_ON -EHa -Ob1 -Oxs -Oy- -Fd -showIncludes -I$S/o3tl/qa -IC:/cygwin$O/inc/stl -IC:/cygwin$O/i nc/external -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/s olenv/inc -IC:/cygwin$S/res -IC:/PROGRA~1/Java/JDK16~2.0_0/include/win32 -IC:/PR OGRA~1/Java/JDK16~2.0_0/include -IC:/PROGRA~1/MICROS~4/Windows/v7.1/include -IC: /PROGRA~1/MICROS~1.0/VC/include -IC:/PROGRA~1/MI21AE~1/include -c $S/o3tl/qa /cow_wrapper_clients.cxx -Fo$W/CxxObject/o3tl/qa/cow_wrapper_clients.o | C:/cygw in/home/Simon/git/libo/solenv/gbuild/filter-showIncludes.pl /home/Simon/git/libo /workdir/wntmsci12.pro/Dep/CxxObject/o3tl/qa/cow_wrapper_clients.d /home/Simon/g it/libo/workdir/wntmsci12.pro/CxxObject/o3tl/qa/cow_wrapper_clients.o /home/Simo n/git/libo/o3tl/qa/cow_wrapper_clients.cxx; exit ${PIPESTATUS[0]} c:\cygwin\home\simon\git\libo\o3tl\qa\cow_wrapper_clients.hxx(32) : fatal error C1083: Cannot open include file: 'o3tl/cow_wrapper.hxx': No such file or directo ry -- Vriendelijke groet, Simon Brouwer -*- nl.openoffice.org -*- http://www.opentaal.org -*- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice