freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] freetype not linking correctly under borland C++


From: Nathan Goings
Subject: Re: [ft] freetype not linking correctly under borland C++
Date: Fri, 20 Apr 2007 09:43:52 -0700 (PDT)

Thank you for your time.  I removed freetype.lib from FTGL.lib so they were seperate.  Which re-compiling FTGL made it complain, but still build.  Then I linked both to my project and the problem was very clear.

There were multiple undefined symbols.  As I was probably not defining any constants like FT_NO_CFF (just an example) it was probably trying to build everything including prototypes to functions I hadn't included in my freetype.lib project.

After tracking down all the files and compiling/linking them in freetype, I then built my font testing project.  After a little work I got all fonts to render correctly.

I still don't know what "Error processing module" means, but I'm almost sure that it was because I had undefined symbols in a second-level linked library.

My only problem is, that FTGL won't link to freetype directly, so I have to add FTGL and freetype together in any projects I want to use them with.

I'm thinking it's because I built freetype by hand.  I couldn't get "make setup bcc32" working because borland has a "make" that it registers on the console.  So I'm calling a borland make and not the GNU make.

Werner LEMBERG <address@hidden> wrote:

> [Linker Error] Error: Error processing module ftglyph.c

This is a cryptic error message without any guide to the user. You
should complain to the developers of the linker :-)

> When building I got two warnings:
> [C++ Warning] ftglyph.c(329): W8075 Suspicious pointer conversion
> [C++ Warning] ftobjs.c(2319): W8004 'error' is assigned a value that
> is never used

Both should be harmless.

> Maybe this is my problem? the only thing I could find on google
> about "error processing module" was to recompile the project. That
> did not work.

A C/C++ issue? Have you compiled everything with C++?

This is just a wild guess. We need more detailed log data for any
further advice -- perhaps you can force the compiler/linker to be more
verbose.


Werner


Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]