2008-07-21 21:06:07     Unable to find FreeType2 library

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-21 21:06:07     Unable to find FreeType2 library

Christopher Harrsen (UNITED STATES)

Message: 59161   

 

Hello,

 

I am building the distribution for the BF548. When I include SDL Examples in the build I get the following error. Do you have any comments on what is causing the error?

 

checking for freetype-config... no

configure: error:

*** Unable to find FreeType2 library (http://www.freetype.org/)

 

make[3]: *** [build-SDL_ttf-2.0.9/Makefile] Error 1

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-21 22:21:09     Re: Unable to find FreeType2 library

Yi Li (CHINA)

Message: 59165   

 

How about configuring to build uclinux-dist/lib/freetype? Then build again.

QuoteReplyEditDelete

 

 

2008-07-22 11:19:06     Re: Unable to find FreeType2 library

Robin Getz (UNITED STATES)

Message: 59236   

 

Chris:

 

In your ./user/Kconfig.local, there should be some lines that look like:

 

config USER_SDLEXAMPLES

        bool "SDL Examples"

        select LIB_LIBSDL

        select LIB_SDL_MIXER

        select LIB_SDL_NET

        select LIB_SDL_IMAGE

        select LIB_SDL_TTF

        select LIB_ZLIB

        select LIB_LIBMAD

        select LIB_FAAD2

        select LIB_FLAC

        select LIB_TREMOR

        select LIB_LIBAUDIO

        select LIB_LIBPNG

        select LIB_FREETYPE

        select LIB_TSLIB

 

 

Can you make sure the LIB_FREETYPE in there?

 

Thanks

 

 

QuoteReplyEditDelete

 

 

2008-07-22 15:40:33     Re: Unable to find FreeType2 library

Christopher Harrsen (UNITED STATES)

Message: 59242   

 

Robin,

 

I can't seem to find the Kconfig file you mention. I do see that the options are selected in the .config file.

 

CONFIG_USER_SDLEXAMPLES=y

CONFIG_LIB_LIBSDL=y

CONFIG_LIB_SDL_MIXER=y

CONFIG_LIB_SDL_NET=y

CONFIG_LIB_SDL_IMAGE=y

CONFIG_LIB_SDL_TTF=y

CONFIG_LIB_ZLIB=y

CONFIG_LIB_LIBMAD=y

CONFIG_LIB_FAAD2=y

CONFIG_LIB_FLAC=y

CONFIG_LIB_TREMOR=y

CONFIG_LIB_LIBAUDIO=y

CONFIG_LIB_LIBPNG=y

CONFIG_LIB_FREETYPE=y

CONFIG_LIB_TSLIB=y

CONFIG_USER_DIRECTFBEXAMPLES=y

CONFIG_LIB_DIRECTFB=y

CONFIG_LIB_FREETYPE_FORCE=y

CONFIG_LIB_LIBJPEG_FORCE=y

 

Any suggestions?

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2008-07-22 16:02:26     Re: Unable to find FreeType2 library

Robin Getz (UNITED STATES)

Message: 59244   

 

Chris:

 

Sorry - are you using trunk or the 2008R1 release?

 

 

QuoteReplyEditDelete

 

 

2008-07-23 21:47:33     Re: Unable to find FreeType2 library

Christopher Harrsen (UNITED STATES)

Message: 59296   

 

Robin,

 

I am using the 2008R1 release.

 

Thanks,

 

Chris

Attachments

    Outcomes