- OpenJDK Cookbook
- Alex Kasko Stanislav Kobylyanskiy Alexey Mironchenko
- 231字
- 2025-04-04 21:12:25
Building 64-bit FreeType libraries for OpenJDK 7 on Windows
The FreeType build for Windows amd64 is similar to the i586 build from the previous recipe. Only different steps will be written in this recipe. Please refer to the previous recipe, Building 32-bit FreeType libraries for OpenJDK 7 on Windows for more detailed instructions.
Getting ready
For this recipe, we should have Windows 7 SP1 amd64 running.
How to do it...
The following procedures will help us in building FreeType:
- Download Microsoft .NET Framework 4 (Version 7.1), Microsoft Windows SDK for Windows 7 and Visual Studio 2010 Express Edition from the Microsoft website, and install them to default locations. The amd64 version of the SDK from the
GRMSDKX_EN_DVD.iso
file should be used. - Follow steps 4 to 9 from the previous recipe to download and adjust the FreeType sources and configure the project in Visual Studio.
- On the main screen choose x64 as the Solution Platform.
- Follow steps 10 and 11 from the previous recipe. Libraries will be placed into the
freetype\builds\windows\vc2010\x64\Release Multithreaded
directory.
How it works...
FreeType amd64 cannot be built using the Express Edition of Visual Studio 2010. The Professional Edition or the Windows SDK toolset should be used. As we will use Windows SDK 7.1 for OpenJDK builds, we are also using it for appropriate FreeType builds.
See also
- The Building 32-bit FreeType libraries for OpenJDK 7 on Windows recipe