[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Included header files location
From: |
Dave Coventry |
Subject: |
Re: [ft] Included header files location |
Date: |
Tue, 23 Dec 2014 09:31:32 +0200 |
On 23 December 2014 at 09:18, Werner LEMBERG <address@hidden> wrote:
> First of all, which FreeType version are you using?
$ freetype-config --version
17.1.11
$ freetype-config --ftversion
2.5.2
> structure. And where have you installed FreeType? In case it is
> newer than version 2.5, there should be a `freetype2' subdirectory in
> your `include' directory, and no FreeType header files outside of it.
$ freetype-config --cflags
-I/usr/include/freetype2
> Second, please post a small Makefile *using freetype-config* (or,
> perhaps better, pkg-config), together with a tiny compilable C++
> snippet that you are going to expand later on.
#Makefile:
INCLUDE=-I/usr/include/freetype2 -I/usr/include/freetype2/confg
CC=g++
LDLIBS=-lglut -lGLEW -lGL
all: main
clean:
rm -f *.o main
.PHONY: all clean
//main.cpp:
#include <ft2build.h>
#include FT_FREETYPE_H
int main(int argc, char* argv[])
{
return EXIT_SUCCESS;
}
> Third, execute the Makefile and send its *complete* error output to
> the list in case of failure.
$ make
g++ main.cpp -lglut -lGLEW -lGL -o main
main.cpp:1:22: fatal error: ft2build.h: No such file or directory
#include <ft2build.h>
^
compilation terminated.
make: *** [main] Error 1
- [ft] Included header files location, Dave Coventry, 2014/12/22
- Re: [ft] Included header files location, Khaled Hosny, 2014/12/22
- Re: [ft] Included header files location, Dave Coventry, 2014/12/22
- Re: [ft] Included header files location, J Decker, 2014/12/22
- Re: [ft] Included header files location, Dave Coventry, 2014/12/23
- Re: [ft] Included header files location, Werner LEMBERG, 2014/12/23
- Re: [ft] Included header files location,
Dave Coventry <=
- Re: [ft] Included header files location, Werner LEMBERG, 2014/12/23
- Re: [ft] Included header files location, Dave Coventry, 2014/12/23
- Re: [ft] Included header files location, Werner LEMBERG, 2014/12/23