Help building under Windows7 64-bit

Kelly O'Hair kelly.ohair at oracle.com
Tue Jun 8 18:47:37 UTC 2010


On Jun 7, 2010, at 7:26 PM, cowwoc wrote:

>
> Hi Kelly,
>
>
> kelly.ohair-2 wrote:
>>
>> Note that Windows7 is a bit of an unknown to use as far as being a
>> build machine, it should work, but in
>> general, the formal 32bit builds of jdk7 use older Windows releases,
>> e.g. 2000 and soon that newer one "XP" ;^)
>> You are trying a 64bit build with Visual Studio 10, on Windows 7, an
>> even more unused combination.
>>
>
> There's no good reason for Windows builds to be this difficult... I  
> remember
> building OpenCV using cmake a few months ago and it was quite  
> painless. Have
> you looked at using cmake instead of cygwin?

Comparing the builds of the JDK to OpenCV is not a valid comparison.
This will be my last reply on this thread.

>
>
> kelly.ohair-2 wrote:
>>
>>> ANT_HOME="C:\Program Files\apache-ant-1.8.0"
>>
>> Your ANT_HOME setting is using \ and has spaces in the path.
>> Try:
>>    export ANT_HOME=`cygpath -m -s "${ANT_HOME}"`
>>
>
> Something is wrong with the build_shell.sh script I posted above.  
> Take a
> look... I am clearly defining ANT_HOME as you describe yet "make  
> sanity" is
> not seeing my changes.

Yeah, I looked, I'm completely puzzled.
Unless somehow your shell profile is doing something on startup.

>
>
> kelly.ohair-2 wrote:
>>
>> Did you run vcvars32.bat or vsvars32.bat? Just curious if the PATH,
>> LIB and INCLUDE env vars are setup right.
>>
>
> How does one run vcvars32.bat from within a bash script? Doesn't it  
> forget
> any environment variables set by the batch file?

You either need to run it in a windows cmd.exe before starting up your  
cygwin shell,
or look at:

   http://blogs.sun.com/kto/entry/windows_visual_studio_stupid_pet

-kto

>
> Thanks,
> Gili
> -- 
> View this message in context: http://old.nabble.com/Help-building-under-Windows7-64-bit-tp28808920p28813190.html
> Sent from the OpenJDK Build Infrastructure mailing list archive at  
> Nabble.com.
>




More information about the build-dev mailing list