Apache OpenOffice (AOO) Bugzilla – Issue 30561
icu has to be buildable without IDE for MS VC .NET 2003
Last modified: 2004-09-02 09:43:39 UTC
MS VC .NET 2003 Toolkit doesn't include a IDE (devenv.exe) . The build process has to be changed to makefiles.
.
Hi Volker, I've commited the patches. These are tagged with cws_src680_icu2003tk (makefile.mk and makefiles.zip). With my environment it works fine, but I can't check it with the .NET2003 Toolkit (VS is installed). Oliver.
Oliver, I'll have to find a computer where I can install .NET2003 Toolkit. I'll then report back.
Hallo Oliver, first test of this module. First Problem: The cl.exe version is 13.10.3052, this is detected as COMEX=8 in configure and configure complains about missing wdevenv.exe. Not your problems, I'll fix. Second: Please use $/. -BUILD_ACTION=cd allinone\all && cmd /c nmake /f all.mak CFG="all - Win32 Release" && cd ..\.. +BUILD_ACTION=cd allinone$/all && cmd /c nmake /f all.mak CFG="all - Win32 Release" && cd ..$/.. Third: nmake is required. This is not part of the toolkit, but I found a version in the 64 bit part of the psdk: Microsoft SDK/Bin/Win64/nmake.exe (Seems to work) But finally it fails with: link.exe kernel32.lib user32.lib /nologo /dll /incremental:no /pdb:".\Re lease\icudt26l.pdb" /machine:I386 /out:"..\..\bin\icudt26l.dll" /implib:"..\..\l ib\icudata.lib" ".\Release\stubdata.obj" LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib' NMAKE : fatal error U1077: 'link.exe' : return code '0x450' Stop. NMAKE : fatal error U1077: 'c:\Programme\MICROS~3\Bin\Win64\nmake.exe' : return code '0x2' Stop. On this machine I only have one msvcrt.lib: $ find /cygdrive/c/Programme/ -iname msvcrt.lib /cygdrive/c/Programme/Microsoft SDK/Lib/IA64/msvcrt.lib But I'm a bit reluctant about using IA64 libraries.
Hi Oliver, at <http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit> they say it is included in the .NET Framework SDK. But on that page is also a nice trick to generate needed import libs on the fly.
Grr, that will get interesting for configure, but for the moment I just copied msvcrt.lib to the lib directory of the toolkit installation and the build continued until: Generating Code... link.exe @c:\tmp\nm11E.tmp Creating library .\..\..\lib\icuuc.lib and object .\..\..\lib\icuuc.exp LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library bscmake.exe @c:\tmp\nm124.tmp Der Befehl "bscmake.exe" ist entweder falsch geschrieben oder konnte nicht gefunden werden. NMAKE : fatal error U1077: 'bscmake.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return code '0x2' Stop. dmake: Error code 2, while making './wntmsci10.pro/misc/build/so_built_so_icu' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /w1/cws_src680_ooo20040704/icu bscmake??
Last update for today: By borrowing bscmake from another computer with .NET2002 installed icu builds to the end. Hmm, that means one can build without the convert tool, but you still need access to a real MS Visual Studio version. I guess we cannot write: ... and borrow a bscmake from a friend with a Visual Studio version ... ?
Hi Volker, many thanks for your help! I've commited a new makefiles.zip which doesn't use bscmake.exe anymore. Oliver.
The new version builds for me with vc toolkit.
Updatetests didn't show strange results
*** Issue 27657 has been marked as a duplicate of this issue. ***