Freetype无法在MinGW的Windows上编译 [英] Freetype not compiling on windows with MinGW

查看:356
本文介绍了Freetype无法在MinGW的Windows上编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打开cygwin并导航到从网站获得的freetype-2.5.3文件夹:

I open cygwin and navigate to the freetype-2.5.3 folder I got from the website:

http://www.freetype.org/developer.html

一旦我在那里,我就运行./configure,到目前为止,它已经完成了三件事中的三件事,看起来是完全随机的.起初它是在说:

Once I'm there, I run ./configure and it has done 1 of 3 three things so far, seemly at complete random. At first it was saying:

builds/PaxHeaders.3009/detect.mk:1: *** missing separator. Stop.

因此,按照他们的网站的建议,我改用了msys.我运行./configure,它似乎正在工作.但是,它说目标平台是Unix,最终会出现一个错误,指出找不到合适的C编译器.

So, I changed to msys, as is recommended by their site. I run ./configure and it appears to be working. However, it says the target platform is Unix and eventually gets an error saying no suitable C compiler is found.

然后我尝试下载其他版本,其中一些具有相同的输出,有人说:

I then tried to download other versions, some have the same output, some say:

process_begin: CreateProcess(NULL, ver, ...) failed.
builds/PaxHeaders.3009/detect.mk:1: *** missing separator. Stop.

无论我尝试了什么(将MinGW添加到PATH,将msys添加到PATH,使用MSYS输入运行msys,删除sed.exe,在CMakeLists上运行cmake,获取库的不同版本,重新下载库,打开使用Qt creator的项目)我总是得到相同的输出.他们的makefile文件似乎有问题,但是我在互联网上的任何地方都看不到任何证据.感谢您的帮助.

No matter what I've tried( adding MinGW to PATH, adding msys to PATH, running msys with MSYS input, removing sed.exe, running cmake on the CMakeLists, getting different versions of the library, redownloading the library, opening the project with Qt creator ) I always get the same output. It appears to be something wrong with their makefile, but I don't see any evidence of this anywhere on the internet. Thanks for any help.

推荐答案

我遇到了同样的问题,最终使用了预构建的freetype版本 http://gnuwin32.sourceforge.net/packages/freetype.htm 它不是100%符合最新要求,但可以满足我的需求

i ran into the same problem and and ended up using a prebuilt version of freetype http://gnuwin32.sourceforge.net/packages/freetype.htm its not 100% up to date but it fits my needs

这篇关于Freetype无法在MinGW的Windows上编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆