Compiling Graphite under Windows

本文详细介绍了在安装Graphite时所需的各种软件及其版本要求,包括Visual C++、Python、CMake、Qt、Graphite源代码等。同时提供了准备Graphite构建的详细步骤,从下载源代码到使用Visual C++进行构建。文章还提到了可能出现的问题及解决方法,确保读者能够顺利安装Graphite。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1) Prerequisites:
Visual C++ >= 7.0
       Works with Visual C++ Express 2008

Python >= 2.5:
       --> Python 2.5
           Note: Python 2.6 support is only available for 2.0-a2 and newer versions.
                 Python 3.0 is currently unsupported.
                 If you use Visual C++ Express, you must have a 32 bit version of Python.
CMake >= 2.4:
       --> CMake 2.6
           Note: CMake 2.8 does not function as expected. Prefer CMake 2.6.
Qt4
       --> \QT4 & \GraphiteTwo under the same folder

Graphite sources
       --> Graphite-2.0-a1

2) Prepare Graphite build
if you chose to download the source archive, unpack it (e.g. in My documents\programming)
move QT in My documents\programming too. The QT directory should be named "QT4".
run CMake
            Directory: My documents\programming\GraphiteTwo
            Build directory: My documents\programming\GraphiteTwo\build\Windows
Push 'configure' ... wait (OK is still grayed out)
Push 'configure' a second time (now OK is no longer grayed out)
Push 'OK'

3) Build Graphite
Open My Documents\programming\GraphiteTwo\build\Windows\Graphite.sln in Visual C++
Build -> Configuration Manager -> Release
Set 'graphite' as startup project (right click in project-list)
Build solution
ctrl + f5 to run Graphite


Done\(^o^)/~!!If you have problems(there may be some errors under windows, which do not appear under linux ), try to  solve them based on erroneous information~ hiahia~ Just enjoy it~



评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值