Re: There is an error(ERROR 2) while compiling freetype-2.10.4

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
[
  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
  `&nbsp;`, 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.