Issue 14319

Summary: .NET build fails in setup2/win/source/loader
Product: Installation Reporter: quetschke
Component: codeAssignee: oliver.bolte
Status: CLOSED FIXED QA Contact: issues@installation <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 Beta2   
Target Milestone: OOo 1.1 RC   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Patch for external
none
Patch for dtrans
none
Patch for embedserv
none
Patch for extensions
none
Patch for setup2 none

Description quetschke 2003-05-10 09:47:02 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.
Comment 1 quetschke 2003-05-10 09:49:20 UTC
Change target
Comment 2 Olaf Felka 2003-05-12 15:17:39 UTC
Hi Oliver,
is this issue related to 14321?
Comment 3 oliver.bolte 2003-05-14 09:31:54 UTC
This issue will be fixed together with i14321
Comment 4 quetschke 2003-05-18 15:56:45 UTC
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
Comment 5 quetschke 2003-05-18 15:57:58 UTC
Created attachment 6257 [details]
Patch for external
Comment 6 quetschke 2003-05-18 15:58:37 UTC
Created attachment 6258 [details]
Patch for dtrans
Comment 7 quetschke 2003-05-18 15:59:15 UTC
Created attachment 6259 [details]
Patch for embedserv
Comment 8 quetschke 2003-05-18 16:00:07 UTC
Created attachment 6260 [details]
Patch for extensions
Comment 9 quetschke 2003-05-18 16:01:20 UTC
Created attachment 6261 [details]
Patch for setup2
Comment 10 oliver.bolte 2003-05-20 15:43:59 UTC
The changes are commited for cws_srx644_obo02.

Fix for winres.h made in solenv/inc/tg_res.mk.
Comment 11 rt 2003-05-20 16:07:06 UTC
RT: I reviewed your changes in tg_res.mk and wnt.mk. Looks good for me.
Comment 12 oliver.bolte 2003-05-21 15:25:02 UTC
.
Comment 13 oliver.bolte 2003-06-05 16:14:58 UTC
.