Rockbox Development > Starting Development and Compiling

AA font conversion problem using CygWin

<< < (2/2)

Chronon:
Yeah, I guess that could be made clearer.

It's difficult for people to offer advice without knowing what the exact error says.

Buschel:
As long as convttf.exe has not been compiled successfully you will not be able to convert fonts. To compile convttf under cygwin you'll need to add the package libfreetype-devel (for compilation) and libfreetype62 (for execution of convtff.exe) to your cygwin installation.

raudonkepuraite:
Ok, I got tired of this so I did it my way :D
I really needed libfreetype stuff but even with it I got bunch of errors since make was compiling all the other things in makefile... so I removed those other things leaving only convttf... AND IT WORKED, yeay  ;D

this is what I did in "makefile":

#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id: Makefile 29547 2011-03-08 22:54:38Z dave $
#
CFLAGS := -O -g -W -Wall -Wshadow -pedantic
LDFLAGS := -g

all: convttf

convttf: convttf.c
   $(call PRINTS,CC $(@F))
   $(SILENT)$(CC) $(CFLAGS) -lm -std=c99 -O2 -Wall -g $+ -o $@ \
      `freetype-config --libs` `freetype-config --cflags`

edit:

oh, and btw THANK YOU BOTH

Navigation

[0] Message Index

[*] Previous page

Go to full version