<div><br></div>That's useful information ! I find the problem, when building freetype.dll, the <div>default setting is "Debug" instead of "Release", so it links MSVCR100D.dll </div><div>which only exists if visualstudio is installed.<div>
<div> <br><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 4:32 PM, Volker Simonis <span dir="ltr"><<a href="mailto:volker.simonis@gmail.com">volker.simonis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Sean,<br>
<br>
looking at your error.log I think you have a different problem:<br>
<br>
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\zhouyx\Desktop\j2sdk-image\j<br>
<br>
re\bin\freetype.dll: Can't find dependent libraries<br>
<br>
This means that freetype.dll was found, but another library which<br>
freetype.dll is dependent on could not be located on the new system.<br>
<br>
You can check with a tool like for example "DependencyWalker"<br>
(<a href="http://www.dependencywalker.com/" target="_blank">http://www.dependencywalker.com/</a>) on which other libraries<br>
freetype.dll is dependent on. As far as I can see on my system, the<br>
dependencies are not exceptional:<br>
<br>
t:\sapjvm_dev\d046063\j2sdk-image\jre\bin\FREETYPE.DLL<br>
|-->c:\windows\system32\KERNEL32.DLL<br>
|-->c:\windows\system32\NTDLL.DLL<br>
<br>
Hope this helps,<br>
<font color="#888888">Volker<br>
</font><div><div></div><div class="h5"><br>
<br>
On Tue, Nov 8, 2011 at 7:38 AM, Sean Chou <<a href="mailto:zhouyx@linux.vnet.ibm.com">zhouyx@linux.vnet.ibm.com</a>> wrote:<br>
> Hi Phil,<br>
> The situation I found is strange: the JDK we build works well on windows<br>
> which<br>
> have the building environment. Eg. machine1 and machine2 both can build<br>
> windows<br>
> openjdk. If I copy a jdk built on machine1 to machine2, it works well. If<br>
> machine3<br>
> doesn't have the build environment, it reports error about freetype.dll.<br>
> I haven't investigate the problem, however the freetype.dll is there<br>
> with awt.dll. So I guessed it was something related to freetype.dll<br>
> installation.<br>
> The attachment is the error information.<br>
> On Tue, Nov 8, 2011 at 1:19 AM, Phil Race <<a href="mailto:philip.race@oracle.com">philip.race@oracle.com</a>> wrote:<br>
>><br>
>> Sean,<br>
>><br>
>> I am not sure what you mean by "installed" - installed into<br>
>> \windows\system32<br>
>> or installed in the JRE bin directory? But the latter is the only way its<br>
>> supposed to<br>
>> work, and the build should take the copy of freetype.dll you provide to<br>
>> it, and<br>
>> copy it to that location. At runtime, freetype is treated like any other<br>
>> JRE provided<br>
>> DLL, such as awt.dll, net.dll, etc. The difference is only at build time,<br>
>> since the openjdk<br>
>> sources don't contain the freetype sources. You need to build it<br>
>> separately.<br>
>><br>
>> -phil.<br>
>><br>
>> On 11/6/2011 7:28 PM, Sean Chou wrote:<br>
>>><br>
>>> Hi Volker,<br>
>>><br>
>>> I would like to know have you tried to run gui application with the<br>
>>> build on another<br>
>>> windows machine which doesn't have freetype.dll installed ? I had built<br>
>>> jdk on<br>
>>> windows but found that it can run gui applications in the machine built<br>
>>> it, but cann't<br>
>>> run gui application in machines without freetype installed.<br>
>>><br>
>>><br>
>>> On Sat, Oct 29, 2011 at 2:19 AM, Volker Simonis <<a href="mailto:volker.simonis@gmail.com">volker.simonis@gmail.com</a><br>
>>> <mailto:<a href="mailto:volker.simonis@gmail.com">volker.simonis@gmail.com</a>>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> I've put together a short description on how to build both, a 64- and<br>
>>> a 32-bit version of OpenJDK 8 on a plain, vanilla WindowsXP 64-bit<br>
>>> operating system using only free (as in free beer) tools:<br>
>>><br>
>>><br>
>>> <a href="http://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction" target="_blank">http://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction</a><br>
>>><br>
>>> It seems as if it is not that hard anymore nowadays:)<br>
>>><br>
>>> Regards,<br>
>>> Volker<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Best Regards,<br>
>>> Sean Chou<br>
>>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Best Regards,<br>
> Sean Chou<br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<br>Sean Chou<br><br>
</div></div></div>