[dev] building ooo320

2010-06-28 Thread xiaohong dong
hi folks:

i am building OOO320 on windows xp --cygwin.  I am having one problem in
extensions module:

Making: ../../../wntmsci12.pro/slo/so_activex.obj
c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/so_activex
-Ic:/PROGRA~1/MICROS~1.0/VC/atlmfc/include
-I../../../wntmsci12.pro/misc -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/external
-Ie:/ooo320/solver/320/wntmsci12.pro/inc
-Ie:/ooo320/solenv/wntmsci12/inc -Ie:/ooo320/solenv/inc
-Ie:/ooo320/res -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Id:/OOEnv/JDK15~1.0_1/include/win32 -Id:/OOEnv/JDK15~1.0_1/include
-Id:/OOEnv/PSDK/include -Ic:/PROGRA~1/MICROS~1.0/VC/include
-Id:/OOEnv/directx/include -Id:/OOEnv/directx/include
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/offuh -I. -I../../../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
-wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
-wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505
-wd4692 -wd4189 -wd4005 -wd4180   -DWNT -DWNT -DNT351 -DMSC
-DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
-DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=320
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA   -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL   -DEXCEPTIONS_OFF
-Fo../../../wntmsci12.pro/slo/so_activex.obj
e:/ooo320/extensions/source/activex/main/so_activex.cpp
so_activex.cpp
e:\ooo320\extensions\source\activex\main\stdafx2.h(29) : fatal error
C1083: Cannot open include file: 'atlbase.h': No such file or
directory
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/so_activex.obj'


many thanks


micheal


[dev] building ooo320

2010-06-28 Thread micheal
hi folks:

i am building OOO320 on windows xp --cygwin.  I am having one problem in
extensions module:

Making: ../../../wntmsci12.pro/slo/so_activex.obj


c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/so_activex
-Ic:/PROGRA~1/MICROS~1.0/VC/atlmfc/include
-I../../../wntmsci12.pro/misc -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/external
-Ie:/ooo320/solver/320/wntmsci12.pro/inc
-Ie:/ooo320/solenv/wntmsci12/inc -Ie:/ooo320/solenv/inc
-Ie:/ooo320/res -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Id:/OOEnv/JDK15~1.0_1/include/win32 -Id:/OOEnv/JDK15~1.0_1/include
-Id:/OOEnv/PSDK/include -Ic:/PROGRA~1/MICROS~1.0/VC/include
-Id:/OOEnv/directx/include -Id:/OOEnv/directx/include
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/offuh -I. -I../../../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
-wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
-wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505
-wd4692 -wd4189 -wd4005 -wd4180   -DWNT -DWNT -DNT351 -DMSC
-DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
-DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=320
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA   -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL   -DEXCEPTIONS_OFF
-Fo../../../wntmsci12.pro/slo/so_activex.obj
e:/ooo320/extensions/source/activex/main/so_activex.cpp



so_activex.cpp
e:\ooo320\extensions\source\activex\main\stdafx2.h(29) : fatal error
C1083: Cannot open include file: 'atlbase.h': No such file or
directory
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/so_activex.obj'





many thanks


micheal


[dev] building ooo320

2010-06-28 Thread micheal
hi folks:

i am building OOO320 on windows xp --cygwin.  I am having one problem in
extensions module:

Making: ../../../wntmsci12.pro/slo/so_activex.obj


c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/so_activex
-Ic:/PROGRA~1/MICROS~1.0/VC/atlmfc/include
-I../../../wntmsci12.pro/misc -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/external
-Ie:/ooo320/solver/320/wntmsci12.pro/inc
-Ie:/ooo320/solenv/wntmsci12/inc -Ie:/ooo320/solenv/inc
-Ie:/ooo320/res -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Id:/OOEnv/JDK15~1.0_1/include/win32 -Id:/OOEnv/JDK15~1.0_1/include
-Id:/OOEnv/PSDK/include -Ic:/PROGRA~1/MICROS~1.0/VC/include
-Id:/OOEnv/directx/include -Id:/OOEnv/directx/include
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/offuh -I. -I../../../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
-wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
-wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505
-wd4692 -wd4189 -wd4005 -wd4180   -DWNT -DWNT -DNT351 -DMSC
-DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
-DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=320
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA   -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL   -DEXCEPTIONS_OFF
-Fo../../../wntmsci12.pro/slo/so_activex.obj
e:/ooo320/extensions/source/activex/main/so_activex.cpp


so_activex.cpp
e:\ooo320\extensions\source\activex\main\stdafx2.h(29) : fatal error
C1083: Cannot open include file: 'atlbase.h': No such file or
directory
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/so_activex.obj'




many thanks


micheal


Re: [dev] building ooo320

2010-06-28 Thread Carsten Driesner

Am 28.06.2010 09:26, schrieb xiaohong dong:

hi folks:

i am building OOO320 on windows xp --cygwin.  I am having one problem in
extensions module:

Making: ../../../wntmsci12.pro/slo/so_activex.obj
c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/so_activex
-Ic:/PROGRA~1/MICROS~1.0/VC/atlmfc/include
-I../../../wntmsci12.pro/misc -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/external
-Ie:/ooo320/solver/320/wntmsci12.pro/inc
-Ie:/ooo320/solenv/wntmsci12/inc -Ie:/ooo320/solenv/inc
-Ie:/ooo320/res -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
-Id:/OOEnv/JDK15~1.0_1/include/win32 -Id:/OOEnv/JDK15~1.0_1/include
-Id:/OOEnv/PSDK/include -Ic:/PROGRA~1/MICROS~1.0/VC/include
-Id:/OOEnv/directx/include -Id:/OOEnv/directx/include
-Ie:/ooo320/solver/320/wntmsci12.pro/inc/offuh -I. -I../../../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275
-wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
-wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
-wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505
-wd4692 -wd4189 -wd4005 -wd4180   -DWNT -DWNT -DNT351 -DMSC
-DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
-DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=320
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA   -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL   -DEXCEPTIONS_OFF
-Fo../../../wntmsci12.pro/slo/so_activex.obj
e:/ooo320/extensions/source/activex/main/so_activex.cpp
so_activex.cpp
e:\ooo320\extensions\source\activex\main\stdafx2.h(29) : fatal error
C1083: Cannot open include file: 'atlbase.h': No such file or
directory
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/so_activex.obj'
   

Hi Micheal,

I guess you build with the Micosoft VisualStudio Express Edition which 
lacks some advanced features. One of them is the Advanced Template 
Library (atl). The Active X part makes heavy use of ATL but is not 
needed to build OpenOffice.org. Just call configure with 
--disable_activex and you will be able to build further on.

For more information please read the building guide for Windows.
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows

Regards,
Carsten

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Issues building under windows xp: patch

2010-06-28 Thread Ramón García Fernández
After studying the failures in the components that link against libxml2 
(libxslt and xmlsecurity) I am convinced that there is a bug in the build 
system. The makefiles (tg_ext.mk) defines the INCLUDE variable on Windows 
platforms, used by Microsoft compilers to define the search path for header 
files. But the LIB variable, needed for the search path for libraries, is not 
defined.

I am attaching a path. I am going to test the build.

The build errors were reported in previous mails.

Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

[dev] RE: Issues building under windows xp: patch

2010-06-28 Thread Ramón García Fernández
It looks like I forgot to attach the patch.

Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Re: [dev] RE: Issues building under windows xp: patch

2010-06-28 Thread Eike Rathke
Hi Ramón,

On Monday, 2010-06-28 21:19:12 +0200, Ramón García Fernández wrote:

 It looks like I forgot to attach the patch.

Some attachment types are stripped from the lists. Best to add it as
a plain text diff.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the e...@sun.com account, which I use for
 mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks.


pgpNpwTj4MXrB.pgp
Description: PGP signature


Re: [dev] FASTBOOL macro vs bool - decrease memory usage

2010-06-28 Thread Jan Holesovsky
Hi,

On 2010-06-24 at 21:30 +0200, Eike Rathke wrote:

  Anyway the change from BOOL to whatever is nothing that can be done just  
  with a script. That's different for e.g. USHORT.
 
 Just a quick idea: define BOOL (or FASTBOOL) as some class that has
 private ctors, conversion, assignment, bit and comparison operators for
 all integer types, but allow conversion to integers, define private
 SvStream operators, and public operators for
 comparison/conversion/assignment/construction with/to/from bool. Then
 compile the entire office ignoring return codes, i.e. let dmake not
 break, and wade through thousands of error messages..  A decent editor
 capable to digest compiler errors and position on the error is most
 helpful.

I'd hope that some script built around Pork or DeHydra could be used?

https://wiki.mozilla.org/Pork
https://developer.mozilla.org/en/Dehydra

Never used any of these myself, though :-(

Regards,
Kendy


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org