• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » Compiling ftrasterize
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS

Compiling ftrasterize

Compiling ftrasterize

This question is not answered
Ali Asadzadeh
Posted by Ali Asadzadeh
on Apr 01 2011 12:34 PM
Prodigy90 points

Hi,

How can I compile the ftrasterize for grlib.

Note that I have windows 7 and Visual Studio 2008.

Thanks in advance for your help.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Stellaris Brian
    Posted by Stellaris Brian
    on Apr 03 2011 21:50 PM
    Expert5380 points

    ftrasterize is built using gcc from cygwin.  Download cygwin (www.cygwin.com), install it on your computer, be sure to select gcc and make (they are not selected by default), and then type "make" in the tools/ftrasterize directory.

    --Brian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Asadzadeh
    Posted by Ali Asadzadeh
    on Apr 04 2011 01:16 AM
    Prodigy90 points

    Hi

    Thanks for your reply.I have installed cygwin and select gcc and make.but when i type make i got the following error.

    please see the attached picture.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stellaris Brian
    Posted by Stellaris Brian
    on Apr 04 2011 06:06 AM
    Expert5380 points

    Look in freetype-2.3.5/log...it has the detailed output from running make.  Did you install the "gcc" package (which is gcc 3.x), or the "gcc4" package (which is gcc 4.x)?  I know it works when using gcc 3.x (i.e. the "gcc" package).

    --Brian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Asadzadeh
    Posted by Ali Asadzadeh
    on Apr 05 2011 02:03 AM
    Prodigy90 points

    Hi Brian

    There is no option for selecting gcc 3.x in the cygwin.you can see the log output file

     

    make[1]: Entering directory `/cygdrive/c/Users/Administrator/Desktop/StellarisWare/tools/ftrasterize/freetype-2.3.5'

     

    FreeType build system -- automatic system detection

     

    The following settings are used:

     

      platform                    unix

      compiler                    cc

      configuration directory     ./builds/unix

      configuration rules         ./builds/unix/unix.mk

     

    If this does not correspond to your system or settings please remove the file

    `config.mk' from this directory then read the INSTALL file for help.

     

    Otherwise, simply type `make' again to build the library,

    or `make refdoc' to build the API reference (the latter needs python).

     

    Generating modules list in ./objs/ftmodule.h...

    * module: truetype  (Windows/Mac font files with extension *.ttf or *.ttc)

    * module: type1     (Postscript font files with extension *.pfa or *.pfb)

    * module: cff       (OpenType fonts with extension *.otf)

    * module: cid       (Postscript CID-keyed fonts, no known extension)

    * module: pfr       (PFR/TrueDoc font files with extension *.pfr)

    * module: type42    (Type 42 font files with no known extension)

    * module: winfnt    (Windows bitmap fonts with extension *.fnt or *.fon)

    * module: pcf       (pcf bitmap fonts)

    * module: bdf       (bdf bitmap fonts)

    * module: sfnt      (helper module for TrueType & OpenType formats)

    * module: autofit   (automatic hinting module)

    * module: pshinter  (Postscript hinter module)

    * module: raster    (monochrome bitmap renderer)

    * module: smooth    (anti-aliased bitmap renderer)

    * module: smooth    (anti-aliased bitmap renderer for LCDs)

    * module: smooth    (anti-aliased bitmap renderer for vertical LCDs)

    * module: psaux     (Postscript Type 1 & Type 2 helper module)

    * module: psnames   (Postscript & Unicode Glyph name handling)

    done.

    cd builds/unix; ./configure  "CFLAGS=-MD -mno-cygwin -I freetype-2.3.5/include" "LDFLAGS= -mno-cygwin -s" "--with-zlib=no"

    checking build system type... i686-pc-cygwin

    checking host system type... i686-pc-cygwin

    checking target system type... i686-pc-cygwin

    checking for gcc... gcc

    checking for C compiler default output file name...

    configure: error: C compiler cannot create executables

    See `config.log' for more details.

    make[1]: *** [setup] Error 77

    make[1]: Leaving directory `/cygdrive/c/Users/Administrator/Desktop/StellarisWare/tools/ftrasterize/freetype-2.3.5'

    make[1]: Entering directory `/cygdrive/c/Users/Administrator/Desktop/StellarisWare/tools/ftrasterize/freetype-2.3.5'

    config.mk:25: builds/unix/unix-def.mk: No such file or directory

    config.mk:26: builds/unix/unix-cc.mk: No such file or directory

    make[1]: *** No rule to make target `builds/unix/unix-cc.mk'.  Stop.

    make[1]: Leaving directory `/cygdrive/c/Users/Administrator/Desktop/StellarisWare/tools/ftrasterize/freetype-2.3.5'

     

     

    what should I do now?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stellaris Brian
    Posted by Stellaris Brian
    on Apr 05 2011 07:45 AM
    Expert5380 points

    The important thing is to install the "gcc" package, not the "gcc4" package.  Also important is to install "gcc", not "gcc-core" and "gcc-g++" and ... the "gcc" package is a "meta-package" that includes all the important pieces of gcc (3.x) in order to get a complete, working compiler.

    With the "gcc" meta-package installed on my cygwin setup, I do not experience problems with building ftrasterize.

    Can you confirm that you have the "gcc" meta-package installed on your cygwin setup?

    --Brian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Asadzadeh
    Posted by Ali Asadzadeh
    on Apr 06 2011 02:53 AM
    Prodigy90 points
    Dear Brian Here you can see that my gcc version is 3.4.4 but still i can not compile ftrasterize.(see the attached picture) I just get the same error! Thanks for sharing your time.
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ali Asadzadeh
    Posted by Ali Asadzadeh
    on Apr 10 2011 01:52 AM
    Prodigy90 points

    Hi

    Can somebody show me the required steps for compiling ftrasterize. as you can see the gcc version on my cygwin is 3.4.4

    What might have been gone wrong? Did I miss something?

    Thanks in advance for sharing your time.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Work
    Posted by Jason Work
    on May 11 2012 02:05 AM
    Expert7975 points

    Ali Asadzadeh
    Can somebody show me the required steps for compiling ftrasterize. as you can see the gcc version on my cygwin is 3.4.4
    What might have been gone wrong? Did I miss something?

    What happens if you apply the discussion from this forum thread to your example?

    Problem with pnmtoc image conversion

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use