You are not logged in.

#1 2014-05-21 00:35:30

luckybc
Member
Registered: 2014-04-25
Posts: 55

[SOLVED] Unresolved inclusion: <ft2build.h> -

Sorry about this error, but every body can tell me know what is happening ?

I have installed freetype2 from:
https://www.archlinux.org/packages/extr … freetype2/

Error in the eclipse built:
Multiple markers at this line
    - Unresolved inclusion: <ft2build.h>
    - fatal error: ft2build.h: No such file or
     directory

Last edited by luckybc (2014-09-14 04:47:50)

Offline

#2 2014-05-21 01:27:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: [SOLVED] Unresolved inclusion: <ft2build.h> -

Is it in your include path?

Offline

#3 2014-05-22 17:43:05

luckybc
Member
Registered: 2014-04-25
Posts: 55

Re: [SOLVED] Unresolved inclusion: <ft2build.h> -

Hello!!! I've done that problem! from:
http://en.wikibooks.org/wiki/OpenGL_Pro … d#FreeType

Offline

#4 2014-05-22 17:55:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,559
Website

Re: [SOLVED] Unresolved inclusion: <ft2build.h> -

Scimmia was asking if the header file is in your include path.  I don't know how eclipse handles this, but the compiler command line would have to specify the freetype2 include directory.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2014-09-14 04:46:54

luckybc
Member
Registered: 2014-04-25
Posts: 55

Re: [SOLVED] Unresolved inclusion: <ft2build.h> -

Sorry about this late post!

Thank you to you: Scimmia and Trilby . I forgot add the path to eclipse. After did that everything is ok!

Offline

Board footer

Powered by FluxBB