Building on Windows

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building on Windows

Subir Pradhanang
Hi all,

I have been trying to build OOB680_m5 on Windows XP SP2 following the
instructions on
http://tools.openoffice.org/dev_docs/build_windows_tcsh.html.

But while doing ./configure, I have been getting the following error
even though I have installed PSDK from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm

----------------------------------------------------
checking for PSDK files... configure: error: Some (all?) PSDK files
not found, please check if all needed Platform SDKs are installed or
use --with-psdk-home.
-----------------------------------------------------

I have set the following variables:

export PATH="/cygdrive/c/PROGRA~1/MICROS~1.NET/Common7/Tools/Bin:/cygdrive/c/PRO
GRA~1/MICROS~1.NET/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/bin:/cygdri
ve/c/PSDK/Bin/:${PATH}"

export DOTNET_PATH="/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/
SDK/v1.1"

My ./configure options are:
$ ./configure --with-csc-path=/cygdrive/c/WINDOWS/MICROS~1.NET/Framework/v1.1.4322
--with-frame-home="${DOTNET_PATH}"
--with-jdk-home="/cygdrive/c/j2sdk1.4.2_11"
--with-psdk-path=/cygdrive/c/PSDK
--with-ant-home=/cygdrive/c/apache-ant-1.6.5

Is there anything else I need to do?

Thanks in advance for any help.

Regards,
Subir

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

Reply | Threaded
Open this post in threaded view
|

Re: Building on Windows

Volker Quetschke
Hi!

Subir Pradhanang wrote:

> Hi all,
>
> I have been trying to build OOB680_m5 on Windows XP SP2 following the
> instructions on
> http://tools.openoffice.org/dev_docs/build_windows_tcsh.html.
>
> But while doing ./configure, I have been getting the following error
> even though I have installed PSDK from
> http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm 
>
>
> ----------------------------------------------------
> checking for PSDK files... configure: error: Some (all?) PSDK files
> not found, please check if all needed Platform SDKs are installed or
> use --with-psdk-home.
> -----------------------------------------------------
>
> I have set the following variables:
>
> export
> PATH="/cygdrive/c/PROGRA~1/MICROS~1.NET/Common7/Tools/Bin:/cygdrive/c/PRO
> GRA~1/MICROS~1.NET/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/bin:/cygdri
> ve/c/PSDK/Bin/:${PATH}"
>
> export DOTNET_PATH="/cygdrive/c/Program Files/Microsoft Visual Studio
> .NET 2003/SDK/v1.1"
You can just use --with-cl-home instead of playing with $PATH.

> My ./configure options are:
> $ ./configure
> --with-csc-path=/cygdrive/c/WINDOWS/MICROS~1.NET/Framework/v1.1.4322
> --with-frame-home="${DOTNET_PATH}"
> --with-jdk-home="/cygdrive/c/j2sdk1.4.2_11"
> --with-psdk-path=/cygdrive/c/PSDK
> --with-ant-home=/cygdrive/c/apache-ant-1.6.5
>
> Is there anything else I need to do?

Can you check which of these files is missing

$PSDK_HOME/Include/AdoCtint.h
$PSDK_HOME/Include/SqlUcode.h
$PSDK_HOME/Include/usp10.h
$PSDK_HOME/lib/unicows.lib

and report back?

Volker


--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
Reply | Threaded
Open this post in threaded view
|

Re: Building on Windows

Subir Pradhanang
Hi Volker,

On 5/2/06, Volker Quetschke <[hidden email]> wrote:
>
> Can you check which of these files is missing
>
> $PSDK_HOME/Include/AdoCtint.h
> $PSDK_HOME/Include/SqlUcode.h
> $PSDK_HOME/Include/usp10.h
> $PSDK_HOME/lib/unicows.lib
>
> and report back?

The missing file was unicows.lib. What I did is copied unicows.lib
from C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Lib to $PSDK_HOME/lib/ and it worked.

Thanks,
Subir

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

Reply | Threaded
Open this post in threaded view
|

Re: Building on Windows

Volker Quetschke
Hi!

Subir Pradhanang wrote:

>> Can you check which of these files is missing
>>
>> $PSDK_HOME/Include/AdoCtint.h
>> $PSDK_HOME/Include/SqlUcode.h
>> $PSDK_HOME/Include/usp10.h
>> $PSDK_HOME/lib/unicows.lib
>>
>> and report back?
>
> The missing file was unicows.lib. What I did is copied unicows.lib
> from C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Lib to $PSDK_HOME/lib/ and it worked.
Well, it is supposed to come with the Platform SDK, so something
with your PSDK installation went wrong, or "your" version from
the PSDK is different. You said you installed:
<http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm>,
but <http://tools.openoffice.org/dev_docs/build_windows_tcsh.html> points
to <http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en>

There might be subtle differences. If you copy files around be aware that other
files might miss later in the OOo build.
Keep in mind that the configure command only uses representative files
to sanity check your installation. If you override these tests your on
your own.

   Volker

--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
Reply | Threaded
Open this post in threaded view
|

Re: Building on Windows

Subir Pradhanang
Hi Volker,

On 5/3/06, Volker Quetschke <[hidden email]> wrote:

>
> Well, it is supposed to come with the Platform SDK, so something
> with your PSDK installation went wrong, or "your" version from
> the PSDK is different. You said you installed:
> <http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm>,
> but <http://tools.openoffice.org/dev_docs/build_windows_tcsh.html> points
> to <http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en>
>
> There might be subtle differences. If you copy files around be aware that other
> files might miss later in the OOo build.
> Keep in mind that the configure command only uses representative files
> to sanity check your installation. If you override these tests your on
> your own.

Thanks for the suggestion. I will download the PSDK from the link
given in the OOo site and try.

Regards,
Subir

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