Thanks. I have updated the wiki page 
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows
  so that the configure examples include the option --with-mspdb-path.

-----Mensaje original-----
De: Mathias Bauer [mailto:[email protected]] 
Enviado el: martes, 29 de junio de 2010 19:20
Para: [email protected]
Asunto: Re: [dev] Issues building under windows xp: patch

Hi,

you should follow the building guide. If you do that, you don't need 
vc32vars.bat for building OOo. As an example, the mspdb80.dll is found through 
the --with-mspdb-path switch. Maybe that the documentation doesn't explain the 
configure switches good enough.

Here is my configure command line that I use most of the time:

./configure \
   --with-mozilla-build="/cygdrive/d/OOo/r/mozilla-build-1.3" \
   --with-cl-home="/cygdrive/d/OOo/r/msvc9p" \
   --with-mspdb-path="/cygdrive/d/OOo/r/msvc9p/Common7/IDE" \
   --with-frame-home="/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1" \
   --with-psdk-home="/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1" \
   --with-midl-path="/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1/Bin" \
   --with-asm-home="/cygdrive/d/OOo/r/msvc9p" \
   --with-jdk-home="/cygdrive/d/OOo/r/jdk1.5.0.06" \
   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
   --with-directx-home="/cygdrive/d/OOo/r/msvc9p/DirectXSDK" \
   --with-ant-home=/ant \
   --with-use-shell=bash \
   --disable-mozilla \
   --disable-activex \
   --disable-atl \
   --without-junit \
   --enable-pch \
   --enable-werror \
   --with-external-tar=d:/OOo/ext_sources \
   --disable-binfilter

By adjusting the pathes you should be able to use that.

Regards,
Mathias

On 29.06.2010 19:11, Ramón García Fernández wrote:
> Yes, I am using vcvars32.bat. Otherwise the compiler does not run.
>
> In a cygwin shell without running vcvars32:
>
> $ /cygdrive/c/Archivos\ de\ programa/Microsoft\ Visual\ Studio\ 
> 9.0/VC/bin/cl.exe /cygdrive/c/Archivos de programa/Microsoft Visual 
> Studio 9.0/VC/bin/cl.exe: error while loading shared libraries: 
> mspdb80.dll: cannot open shared object file: No such file or directory
>
> -----Mensaje original-----
> De: Mathias Bauer [mailto:[email protected]] Enviado el: martes, 29 
> de junio de 2010 18:33
> Para: [email protected]
> Asunto: Re: [dev] Issues building under windows xp: patch
>
> Hi Ramón,
>
> so you are building OOo in a system where vbvars32.bat is executed and 
> pollutes the global environment?
>
> This is an unsupported scenario. Does it help to remove all environment 
> variables set in that batch file?
>
> Or did I misunderstand you?
>
> Regards,
> Mathias
>
> 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


--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org 
Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to 
"[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, 
e-mail: [email protected]

Reply via email to