[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: There is an error(ERROR 2) while compiling freetype-2.10.4
From: |
Werner LEMBERG |
Subject: |
Re: There is an error(ERROR 2) while compiling freetype-2.10.4 |
Date: |
Sat, 20 Feb 2021 09:48:07 +0100 (CET) |
[
Please use UTF-8 for your e-mail encoding, and please use real plain
text for your e-mails – you had plenty of HTML entities like
` `, which makes it hard to read. You should probably use a
different e-mail program :-)
]
> D:\Program Files (x86)\Python3.9.1\下载\freetype-2.10.4>gnumake
> gcc -ansi -pedantic -I./objs -I./builds/windows -I./include \
> -c -g -O3 -Wall -DFT2_BUILD_LIBRARY -o objs/ftsystem.o
> src/base/ftsystem.c
> process_begin:
> CreateProcess(NULL, gcc -ansi -pedantic -I./objs -I./builds/windows \
> -I./include -c -g -O3 -Wall -DFT2_BUILD_LIBRARY \
> -o objs/ftsystem.o src/base/ftsystem.c, ...)
> failed.
> make (e=2): 系统找不到指定的文件(The system cannot find the specified file)。
> gnumake: *** [builds/freetype.mk:204: objs/ftsystem.o] Error 2
You are compiling FreeType within the `Program Files (x86)` folder –
this is a folder with restricted permissions, AFAIK. Not being a
Windows user or expert, but it looks as if you don't have enough
permissions to create files there.
Try to compile FreeType in your home directory.
Werner