Re: [Libreoffice] cannot build with ATL, cannot build without

2011-09-06 Thread Noel Grandin
Hi Regina

I'm using Visual Studio 2008 Express Edition and my configure parameters are:

$ ./configure --without-junit 
--with-ant-home=/cygdrive/c/Components/apache-ant-1.8.0/ --disable-mozilla
--disable-activex-component

Thanks, Noel.

Regina Henschel wrote:
 Hi Noel,

 Noel Grandin schrieb:
 Hi

 I'm trying to build LibreOffice on Windows7.

 Which Visual Studio do you use?

 At the moment, I'm stuck on an ATL problem.
 I've tried disabling atl (--disable-atl), but that doesn't help because
 stuff in /extensions/source/ole still tries to include atlbase.h
 I've tried using the Windows Server 2003 R2 SDK, but then I get an error
 from configure about a legacy SDK.


 Please post all of your parameters for autogen.

 Kind regards
 Regina



Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] cannot build with ATL, cannot build without

2011-09-06 Thread Caolán McNamara
On Tue, 2011-09-06 at 08:51 +0200, Noel Grandin wrote:
 Hi Regina
 
 I'm using Visual Studio 2008 Express Edition and my configure
 parameters are:
 
 $ ./configure --without-junit
 --with-ant-home=/cygdrive/c/Components/apache-ant-1.8.0/
 --disable-mozilla --disable-activex-component

Firstly, perhaps you need --disable-activex and not
--disable-activex-component when building with vc2008

You said in some other mail that you had --disable-atl as well but also
a build error in extensions/source/ole

if you look at extensions/source/ole/makefile.mk it has...

.IF $(GUI) == WNT  $(DISABLE_ATL)==
stuff to build
.ENDIF

so lets see what your DISABLE_ATL env variable is, i.e.

grep DISABLE_ATL ./Env.Host.sh

should state DISABLE=ATL=TRUE if the --disable-atl flag to configure was
set and worked as its supposed to


C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] cannot build with ATL, cannot build without

2011-09-06 Thread Noel Grandin
Hi Caolán

Thanks, that was the magic sauce. My new configure command line is

$ ./configure --without-junit 
--with-ant-home=/cygdrive/c/Components/apache-ant-1.8.0/ --disable-mozilla
--disable-activex --disable-atl

And the build is now making it's way past the extensions folder.

Could someone perhaps update the
http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies
wiki page?

Thanks for all the help, this is a great team!

Regards, Noel Grandin


Caolán McNamara wrote:
 On Tue, 2011-09-06 at 08:51 +0200, Noel Grandin wrote:
 Hi Regina

 I'm using Visual Studio 2008 Express Edition and my configure
 parameters are:

 $ ./configure --without-junit
 --with-ant-home=/cygdrive/c/Components/apache-ant-1.8.0/
 --disable-mozilla --disable-activex-component
 Firstly, perhaps you need --disable-activex and not
 --disable-activex-component when building with vc2008

 You said in some other mail that you had --disable-atl as well but also
 a build error in extensions/source/ole

 if you look at extensions/source/ole/makefile.mk it has...

 .IF $(GUI) == WNT  $(DISABLE_ATL)==
 stuff to build
 .ENDIF

 so lets see what your DISABLE_ATL env variable is, i.e.

 grep DISABLE_ATL ./Env.Host.sh

 should state DISABLE=ATL=TRUE if the --disable-atl flag to configure was
 set and worked as its supposed to


 C.



Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] cannot build with ATL, cannot build without

2011-09-05 Thread Noel Grandin
In desperation, I managed to solve this by doing

export DISABLE_ATL=TRUE
export DISABLE_ACTIVEX=TRUE

But why does configure not automatically set those variables, since I specified 
--disable-atl and --disable-activex on
the configure command line?

Thanks, Noel

Noel Grandin wrote:
 Hi

 I'm trying to build LibreOffice on Windows7.
 At the moment, I'm stuck on an ATL problem.
 I've tried disabling atl (--disable-atl), but that doesn't help because stuff 
 in /extensions/source/ole still tries to
 include atlbase.h
 I've tried using the Windows Server 2003 R2 SDK, but then I get an error from 
 configure about a legacy SDK.

 Thanks, Noel.



 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] cannot build with ATL, cannot build without

2011-09-05 Thread Noel Grandin
Spoke too soon, build still breaking. Sigh.

Noel Grandin wrote:
 In desperation, I managed to solve this by doing

 export DISABLE_ATL=TRUE
 export DISABLE_ACTIVEX=TRUE

 But why does configure not automatically set those variables, since I 
 specified --disable-atl and --disable-activex on
 the configure command line?

 Thanks, Noel

 Noel Grandin wrote:
 Hi

 I'm trying to build LibreOffice on Windows7.
 At the moment, I'm stuck on an ATL problem.
 I've tried disabling atl (--disable-atl), but that doesn't help because 
 stuff in /extensions/source/ole still tries
 to include atlbase.h
 I've tried using the Windows Server 2003 R2 SDK, but then I get an error 
 from configure about a legacy SDK.

 Thanks, Noel.



 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice