Issue 14321 - .NET build fails (silently) in external/atl
Summary: .NET build fails (silently) in external/atl
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: Martin Hollmichel
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks: 14324
  Show dependency tree
 
Reported: 2003-05-10 10:07 UTC by quetschke
Modified: 2003-06-03 09:08 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2003-05-10 10:07:19 UTC
MS moved the include files from

${COMPATH}/atl/include/

to

${COMPATH}/atlmfc/include/

And this project doesn't fail because there are some lines like:

+if test -f patcherror ; then
+  echo Error
+  exit 1
+fi

missing in atlcopy.sh  (And similar in atlcopy.bat)
Comment 1 quetschke 2003-05-10 10:10:53 UTC
Set target
Comment 2 hennes.rohling 2003-05-12 11:36:36 UTC
Please change and apply the changes to SO external project to. There
are still the old files from MSVC6.
Comment 3 hennes.rohling 2003-05-12 11:48:36 UTC
@obo: Please change and apply also for SO external module. The files
in SO external/atl are still from old MSVC6.
Comment 4 oliver.bolte 2003-05-13 12:48:46 UTC
I think its the best way to get these headers direct from the .NET
compiler instead of copying them to solver first. The module
external/atl will be obsolete for wntmsci8.
Comment 5 quetschke 2003-05-13 13:15:31 UTC
We should remove external/atl completely, also for MSVC 6,

This patch would do for source/activex/main/makefile.mk, but ...

+++ extensions/source/activex/main/makefile.mk	13 May 2003 12:07:27
@@ -32,7 +32,13 @@
 VERSIONOBJ=
 LIBTARGET=NO
 USE_DEFFILE=YES
-INCPRE+=$(SOLARINCDIR)$/external$/atl \
+.IF "$(COMEX)"=="8"
+ATL_INCLUDE=$(COMPATH)$/atlmfc$/include
+.ELSE
+ATL_INCLUDE=$(COMPATH)$/atl$/include
+.ENDIF
+
+INCPRE+=$(ATL_INCLUDE) \
     -I$(MISC) \


... a grep in extensions shows:
$ grep -r "external$/atl" *
source/activex/main/makefile.mk~:INCPRE+=$(SOLARINCDIR)$/external$/atl \
source/ole/makefile.mk:INCPRE+= -I$(SOLARINCDIR)$/external$/atl
test/ole/cpnt/makefile.mk:INCPRE+=      $(OUT)$/inc
-I$(SOLARINCDIR)$/external$/atl
test/ole/cpnt/makefile.mk:#INCPRE+= -I$(SOLARINCDIR)$/external$/atl
test/ole/cpptest/makefile.mk:INCPRE+=   $(OUT)$/inc
-I$(SOLARINCDIR)$/external$/atl
test/ole/cppToUno/makefile.mk:INCPRE+=  $(OUT)$/inc
-I$(SOLARINCDIR)$/external$/atl
test/ole/OleClient/makefile.mk:INCPRE+= $(OUT)$/inc
-I$(SOLARINCDIR)$/external$/atl
test/ole/OleConverterVar1/makefile.mk:INCPRE+=  $(OUT)$/inc
-I$(SOLARINCDIR)$/external$/atl


Maybe we should define the ATL_INCLUDE in WNT.MK, to keep it in one
place, or set it in configure, and your solar environment.
Comment 6 oliver.bolte 2003-05-13 14:10:10 UTC
I'll set ATL_INCLUDE in wnt.mk to the appropriate paths.
Comment 7 oliver.bolte 2003-05-16 10:06:53 UTC
Done.
Comment 8 rt 2003-05-20 16:15:53 UTC
RT: Reviewed, looks OK.
Comment 9 oliver.bolte 2003-05-21 15:46:38 UTC
Verified together with Mikhail.
Comment 10 quetschke 2003-05-21 20:26:28 UTC
Errm, sorry to reopen this issue, but:

/v1/cws_srx644_ooo11beta2cyg/external/atl
cp: cannot stat
`/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/atl/include/ATLBASE.H': No such
file or directory
...

external/atl can be removed from external/prj/*

As external is not tagged in cws...obo02 this can not be done
before cws..obo02 is merged back to HEAD
Comment 11 oliver.bolte 2003-05-22 09:12:10 UTC
As discussed to you.
Comment 12 Martin Hollmichel 2003-06-02 10:59:36 UTC
removed on ooo11beta2.
Comment 13 quetschke 2003-06-02 11:30:24 UTC
Hi Martin,

can you please also merge the obo02 changes to beta2?

At the moment the tree is broken, because some of the files, without
the changes from obo02 still use inc/atl.

The files to merge are:
---
solenv/inc/tg_res.mk
solenv/inc/wnt.mk

extensions/test/ole/cpptest/makefile.mk
extensions/test/ole/cppToUno/makefile.mk
extensions/test/ole/cpnt/makefile.mk
extensions/test/ole/OleConverterVar1/makefile.mk
extensions/test/ole/OleClient/makefile.mk
extensions/source/ole/makefile.mk
extensions/source/activex/main/makefile.mk
extensions/source/activex/main/SODispatchInterceptor.cpp
extensions/source/activex/main/SOComWindowPeer.cpp

embedserv/source/embed/makefile.mk
embedserv/util/makefile.mk

dtrans/test/win32/dnd/makefile.mk
---

Volker
Comment 14 Martin Hollmichel 2003-06-02 11:42:01 UTC
joined given modules to ooo11beta2
Comment 15 quetschke 2003-06-02 12:56:18 UTC
Hi Martin,

solenv/inc/tg_res.mk
solenv/inc/wnt.mk

are still missing.

Volker
Comment 16 Martin Hollmichel 2003-06-02 13:36:19 UTC
but now complete, please verify.
Comment 17 quetschke 2003-06-03 09:08:27 UTC
A complete build with W32-tcsh and .NET finished succesfully.

(No extra patches needed, only midl.exe must already be in the path
before calling configure)
Comment 18 quetschke 2003-06-03 09:08:49 UTC
c