Hi!

Canghua Qu wrote:
<big snip>
>> 2. most developers are not using 4nt for their build, have you checked
>> this in a pure cygwin environment also ?
>   Well,I havn't. BTW,I don't know how to check "this" in "a pure cygwin 
> environment".

Well, start by following the build instructions :
  <http://tools.openoffice.org#Build>
Note the comment on 4NT builds.

I have some more comments on your build environment below.

>  
<snip>
> 
>>     Q 1: The error" fatal error C1083: Cannot open include file: 
>> 'starview.hid': No such file or directory ", while I can find the file 
>> "starview.hid" in  solenv\inc, and it actually setted: 
>> "-Ie:\ooo_OOE680_m6_src\solenv\inc ". What's the problem? 
>>
>> The environment I am in:
>> 1.OS: Windows XP
>> 2.February 2003 SDK 
>> 3.Microsoft? DirectX? 9.0 SDK Update (Summer 2004)
>> 4.4NT v4.00
Dangerous, should be unneeded

>> 5.ConvertDSW
Not mentioned in the build instructions -> obsolete
>> 6.j2sdk1.4.2_06
>> 7.Cygwin (installed all)
Installing all cannot hurt, but you installed a lot of unneeded programs.

>> 8.ant
>> 9.VCToolkit
Well, I hope you installed
 "Visual Studio 2005 Express"
because the VC Toolkit (.NET 2003) will not work. Please note the
extra comments on VS Express
<http://wiki.services.openoffice.org/wiki/Windows#Visual_C.2B.2B_Express_2005>
that might be slightly different from .NET 2003.

Your run4nt.bat script uses a lot of old and obsolete configure
switches. Unless you are asked for adding switches you should not
need any extra switches at all.

   Volker

Oh, and please:
<http://wiki.services.openoffice.org/wiki/Debug_Build_Problems>



>> The actions I have done:
>> 1.download the source OOE680
>> 2.Have the files gpc.c and gpc.h in ooo_OOE680_m6_src\external\gpc.
>> 4.Put dbghelp.dll from microsoft into  ooo_OOE680_m6_src\external\dbghelp
>> 5.Put unicows.dll into ooo_OOE680_m6_src\external\unicows
>> 6.Mozilla libraries: 
>>     1)copied it into ooo_OOE680_m6_src\moz\download
>> 2)Placed WNTMSCI{inc,lib,runtile}.zip into ooo_OOE680_m6_src\moz\zipped
>> 7.In ooo_OOE680_m6_src\config_office, I have created a file: run4nt.bat,
>>  The content is:
>> **************************************************
>> bash ./configure --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual 
>> Studio .NET 
>>
>> 2003/Vc7" 
>> --with-jdk-home=/cygdrive/d/OOEnv/j2sdk1.4.2_06 
>> --with-asm-home="/cygdrive/c/Program 
>>
>> Files/Microsoft Visual 
>> Studio .NET 2003/Vc7/bin" --with-frame-home="/cygdrive/c/Program 
>> Files/Microsoft Visual 
>>
>> Studio .NET 
>> 2003/SDK/v1.1" --with-wdevenv-path="/cygdrive/d/OOEnv/ConvertDSWSetup" 
>> --with-ant-
>>
>> home=/cygdrive/d/OOEnv/ant 
>> --with-psdk-home=/cygdrive/d/OOEnv/PSDK --with-csc-
>>
>> path=/cygdrive/c/WINNT/Microsoft.NET/Framework/v1.1.4322  
>> --disable-build-mozilla --with-unzip-home=/cygdrive/d/OOEnv/unzip 
>> --with-use-shell=4nt 
>>
>> --with-lang="zh-CN"
>> ************************************************
>> 8.changed line in rules.mk via ooo_OOE680_m6_src\solenv\inc  under :
>> ***********************************************
>>   # generate hid files
>>   $(SRS)$/%.hid : %.src
>> ***********************************************
>>     from: +$(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) $(PRJNAME) 
>> $(CDEFS) 
>>
>> $(INCLUDE)
>>     To: +$(WRAPCMD) $(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) 
>> $(PRJNAME) $(CDEFS) 
>>
>> $(INCLUDE)
>> 9.run "run4nt.bat" in cygwin. and then it automatically created files 
>> winenv.bat ,etc.
>> 10.run "winenv.bat " in 4NT
>> 11.command "dmake"
>>    
>> It works well in building until build the modle "wizards". 
>> The error information is : 
>> **************************************
>>  HID-Compiler 1.6 OG
>>
>> cl  -DWNT -DWNT -DNT351 -DMSC -DM1310 -DINTEL -D_X86_=1 -DFULL_DESK 
>> -DSTLPORT_VE
>> RSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 
>> -DPR
>> ODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE 
>> -DEXCEPTIONS_OFF -D
>> CUI -DSOLAR_JAVA -DOOE680=OOE680 -I. -I..\..\wntmsci10.pro\inc\euro -I..\inc 
>> -I.
>> .\..\inc\pch -I..\..\inc -I..\..\WIN\inc -I..\..\wntmsci10.pro\inc -I. 
>> -Ie:\ooo_
>> OOE680_m6_src\solver\680\wntmsci10.pro\inc\stl 
>> -Ie:\ooo_OOE680_m6_src\solver\680
>> \wntmsci10.pro\inc\external 
>> -Ie:\ooo_OOE680_m6_src\solver\680\wntmsci10.pro\inc
>> -Ie:\ooo_OOE680_m6_src\solenv\wntmsci10\inc 
>> -Ie:\ooo_OOE680_m6_src\solenv\inc -I
>> e:\ooo_OOE680_m6_src\res 
>> -Ie:\ooo_OOE680_m6_src\solver\680\wntmsci10.pro\inc\stl
>>  -Id:\OOEnv\J2SDK1~1.2_0\include\win32 -Id:\OOEnv\J2SDK1~1.2_0\include 
>> -Id:\OOEn
>> v\PSDK\include -Ic:\progra~1\micros~1.net\vc7\include 
>> -Id:\OOEnv\directx\include
>>  -Ie:\ooo_OOE680_m6_src\solver\680\wntmsci10.pro\inc\offuh -I. -I..\..\res 
>> -I. -
>> EP \cygdrive\c\DOCUME~1\QUCANG~1\LOCALS~1\Temp\euro_1372.c1   > 
>> \cygdrive\c\DOCUME
>> ~1\QUCANG~1\LOCALS~1\Temp\euro_1372.c2
>> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
>> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
>>
>> cygdrivecDOCUME~1QUCANG~1LOCALS~1Tempeuro_1372.c1
>> cygdrivecDOCUME~1QUCANG~1LOCALS~1Tempeuro_1372.c1(18) : fatal error C1083: 
>> Canno
>> t open include file: 'starview.hid': No such file or directory
>> ERROR - calling compiler for preprocessing failed
>> ERROR - couldn't remove 
>> /cygdrive/c/DOCUME~1/QUCANG~1/LOCALS~1/Temp/euro_1372.c1
>> ERROR - couldn't remove 
>> /cygdrive/c/DOCUME~1/QUCANG~1/LOCALS~1/Temp/euro_1372.c2
>> dmake.exe:  Error code 130, while making '..\..\wntmsci10.pro\srs\euro.hid'
>> '---* tg_merge.mk *---'
>> ERROR: Error 65280 occurred while making 
>> /cygdrive/e/ooo_OOE680_m6_src/wizards/s
>> ource/euro
>> dmake:  Error code 129, while making 'build_instsetoo_native'
>> '---*  *---'
>> *************************************
>>
>>     Q 2: Why can't I find the directory hid in 
>> ooo_OOE680_m6_src\solver\680\wntmsci10.pro\bin\,nor the file hid.lst in it ? 
>>
>> As I have command "dmake   >  >demakelog.txt" , in the demakelog.txt ,I can 
>> find,for example:
>> ********************************************
>> =============
>> Building project boost
>> =============
>> /cygdrive/e/ooo_OOE680_m6_src/boost
>> dmake.exe: Executing shell macro: +echo %_cwd
>> dmake.exe: Executing shell macro: +echo %_4ver
>> dmake.exe: Executing shell macro: +$(WRAPCMD) echo $(subst,$/stl, 
>> $(SOLARINC))
>> Making .\wntmsci10.pro\bin\hid.lst :
>> ---------------
>> Deleting E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst
>>      1 file deleted          16,384 bytes freed
>> type e:\ooo_OOE680_m6_src\solver\680\wntmsci10.pro\bin\hid\*.hid | sort -u   
>> >  > 
>> .\wntmsci10.pro\bin\hid.lst.wntmsci10.pro.tmp 
>> E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst.wntmsci10.pro.tmp -  > 
>> E:\ooo_OOE680_m6_src\boost\wntmsci10.pro\bin\hid.lst
>>      1 file renamed
>> -------------
>> ********************************************
>>
>>     I have send it into [EMAIL PROTECTED], and [EMAIL PROTECTED] , But there 
>> is no reply on it. Maybe I have sent it to the wrong maillist. I hope this 
>> time is right. : )
>>
>>     Do you guys have any suggestion on my problems? Need your help! :-)
>>     Awaiting for your earliest reply!  
>>     And Thanks in advance!!   ^_^
>>
>>
>> Yours sincerely,
>> Cynthia Qu 
>>
>>
>>
>>
>> Canghua Qu 
>>
>> Beijing Redflag CH2000 Software Co., Ltd. 
>> BEIJING, CHINA.
>> TEL:010- -6440
>> 2007-05-15
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> Canghua Qu
> 2007-05-16
> 
> 
> 
> 
> 发件人: Martin Hollmichel
> 发送时间: 2007-05-15 17:26:46
> 主题: (瑞星提示-此邮件可能是垃圾邮件)Re: [tools-dev] problems on building on Windows XP, need 
> your help.


-- 
= http://wiki.services.openoffice.org/wiki/Debug_Build_Problems  =
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to