Apache OpenOffice (AOO) Bugzilla – Issue 14319
.NET build fails in setup2/win/source/loader
Last modified: 2003-09-08 16:53:51 UTC
The build with .NET fails in setup2/win/source/loader because MS moved the winres.h out of the compiler standard include directory. As a workaround I copied the file from .../...NET/Vc7/atlmfc/include/winres.h to solver/inc Errorlog: ------------------------------ Making: ../../../wntmsci8.pro/res/01/loader.res guw.pl rc -I. -I. -I../inc -I../../../inc -I../../../WIN/inc -I../../../wntmsci8.pro/inc -I. -I/v1/cws_srx644_ooo11beta2cyg/solver/644/wntmsci8.pro/inc/stl -I/v1/cws_srx644_ooo11beta2cyg/solver/644/wntmsci8.pro/inc/external -I/v1/cws_srx644_ooo11beta2cyg/solver/644/wntmsci8.pro/inc -I/v1/cws_srx644_ooo11beta2cyg/solenv/wntmsci8/inc -I/v1/cws_srx644_ooo11beta2cyg/solenv/inc -I/v1/cws_srx644_ooo11beta2cyg/res -I/v1/cws_srx644_ooo11beta2cyg/solver/644/wntmsci8.pro/inc/stl -I/cygdrive/c/j2sdk1.4.1_02/include/win32 -I/cygdrive/c/j2sdk1.4.1_02/include -I'/cygdrive/C/Programme/Microsoft SDK/include' -I/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/include -I. -I../../../res -I. -I/v1/cws_srx644_ooo11beta2cyg/solver/644/wntmsci8.pro/res -d ENGLISH -r -DWIN32 -fo../../../wntmsci8.pro/res/01/loader.res loader.rc Command: rc loader.rc(1) : fatal error RC1015: cannot open include file 'winres.h'. dmake: Error code 1, while making '../../../wntmsci8.pro/res/01/loader.res' echo: No match. ERROR: Error 65280 occurred while making /v1/cws_srx644_ooo11beta2cyg/setup2/win/source/loader dmake: Error code 1, while making 'build_all' echo: No match.
Change target
Hi Oliver, is this issue related to 14321?
This issue will be fixed together with i14321
Hi Oliver, as you already closed iz 14321 I will attach my patches to this issue. The following patches do: - Remove external/atl from the build/deliver in external. It's not needed anymore and can be removed. (atl_external.diff) - Convert every occurence of $(SOLARINCDIR)$/external$/atl to $(ATL_INCLUDE) in the cws_srx644_obo02 tree. (atl_dtrans.diff, atl_embedserv.diff, atl_extensions.diff) - Add INCPOST+=$(ATL_INCLUDE) to setup2/win/source/loader/makefile.mk. This solves this issue for me, but you already mentioned possible problems with the WINVER. So this patch (atl_setup2.diff) should be reviewed carefully. With this patches applied I did a succesful build with MSVC6, PSDK 02/2003. Volker
Created attachment 6257 [details] Patch for external
Created attachment 6258 [details] Patch for dtrans
Created attachment 6259 [details] Patch for embedserv
Created attachment 6260 [details] Patch for extensions
Created attachment 6261 [details] Patch for setup2
The changes are commited for cws_srx644_obo02. Fix for winres.h made in solenv/inc/tg_res.mk.
RT: I reviewed your changes in tg_res.mk and wnt.mk. Looks good for me.
.