Apache OpenOffice (AOO) Bugzilla – Issue 69600
obo05: VSE build breaks in embedserv
Last modified: 2006-09-29 14:21:07 UTC
The build breaks with: guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkAgKPAa register.cxx d:\w1\tin_obo05\embedserv\source\inc\stdafx.h(19) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory dmake: Error code 2, while making '../../wntmsci11.pro/slo/register.obj' ---* tg_merge.mk *--- dmake: Error code 255, while making 'do_it_exceptions' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_obo05/embedserv/source/embed atlbase.h is part of the "normal" VS installation, but not of the express version. I tried the header from PSDK/Include/atl but then I get different errors and the atls.lib file is not provided in alternate locations. Well this part in embedserv/util/makefile.mk would need a change for COMEX=11 anyway. .IF "$(COMEX)"=="8" || "$(COMEX)"=="10" SHL1STDLIBS+=\ advapi32.lib \ $(ATL_LIB)$/atls.lib .ENDIF For now I'm disabling embedserv for "$(NETTOOLKIT)"!="".
Created attachment 39203 [details] Workaround patch
This is now the reason that the VS Express build fails as now emser680mi.dll is missing. ************************************************** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ************************************************** ************************************************** ERROR: Saved logfile: d:/w1/tin_ws/instsetoo_native/wntmsci11.pro/OpenOffice/msi/logging/en-US/log_SRC680__en-US.log ************************************************** ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: emser680mi.dll
Oh, in case you're wondering. If I don't disable the build of the module it fails with this: Making: ../../wntmsci11.pro/slo/register.obj guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -I. -I../../wntmsci11.pro/inc/emser -I/cygdrive/c/PROGRA~1/MICROS~4/include/atl -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc -I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc -I/cygdrive/d/w1/tin_ws/res -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include -I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MID05A~1/VC/include -I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I. -Gy -Ob1 -Oxs -Oy- -Gd -I. -I../../wntmsci11.pro/inc/emser -I/cygdrive/c/PROGRA~1/MICROS~4/include/atl -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc -I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc -I/cygdrive/d/w1/tin_ws/res -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl -I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include -I/cygdrive/c/PROGRA~1/MICROS~4/include -I/cygdrive/c/PROGRA~1/MID05A~1/VC/include -I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include -I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I. -EHa -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4701 -wd4244 -wd4018 -WX -DWNT -DWNT -DNT351 -DMSC -DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680 -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD -Fo../../wntmsci11.pro/slo/register.obj /cygdrive/d/w1/tin_ws/embedserv/source/embed/register.cxx guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkqXLYgU register.cxx c:\PROGRA~1\MICROS~4\include\atl\atlwin.h(1753) : error C2065: 'i' : undeclared identifier dmake: Error code 2, while making '../../wntmsci11.pro/slo/register.obj' ---* tg_merge.mk *--- dmake: Error code 255, while making 'do_it_exceptions' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_ws/embedserv/source/embedserv
Doh! There is actually a bug in that MS header file. After applying this: +++ /cygdrive/c/PROGRA~1/Microsoft Platform SDK/include/atl/atlwin.h 2006-09-18 @@ -1750,7 +1750,7 @@ // search for an empty one - for(i = 0; i < m_aChainEntry.GetSize(); i++) + for(int i = 0; i < m_aChainEntry.GetSize(); i++) { if(m_aChainEntry[i] == NULL) { the build of embedserv actually finishes.
Hi Volker, this bug in the PlatformSDK header is well known (see Google, since ~2005). I've forgotten to tell you this. I can't fix this, only as notification in the build requirements. Oliver
closed.