freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] impossble trouble installing free type on Vis C++


From: Patrick Spendrin
Subject: Re: [ft-devel] impossble trouble installing free type on Vis C++
Date: Thu, 10 Jul 2008 02:34:01 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

mikau16 schrieb:
Hehe, well I appreciate the 'make sure your computer is plugged in'
suggestion, because lets face it, it often works. But no. Here is a copy
paste from the path i included:

C:\Program Files\FreeType\lib

and here's a copy paste from the location of the library file:

C:\Program Files\FreeType\lib
PLUS! I'm not sure about the amount of linkage needed for this program but,
the following succesfully compiles and links for me. Note how it contains
data types from the freetype library. If this works, it should be finding
SOME stuff in the library file, right?

int
main( int     argc,
      char**  argv )
{
  FT_Library    library;
  FT_Face       face;

  FT_GlyphSlot  slot;
  FT_Matrix     matrix;                 /* transformation matrix */
  FT_Vector     pen;                    /* untransformed origin  */
  FT_Error      error;

  return 0;
}


DingLi(丁力) wrote:
Maybe your path for the lib is not right~~~

Please check it.


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
mikau16
Sent: Wednesday, July 09, 2008 6:46 AM
To: address@hidden
Subject: [ft-devel] impossble trouble installing free type on Vis C++


I seem entirely incapable of successfully installing freetype 2 on my
system.
I'm currently trying to install it on my Visual C++ 9.0 Express Edition
compiler. There was a very clear and straight forward walk-through here:
http://libagar.org/docs/compile-msvc.html.en for how to do it using two
different methods. I've tried both, and I've also tried installing it on
other compilers.
After installing, i try to compile and link this program, which I obtained
here: http://www.freetype.org/freetype2/docs/tutorial/step1.html

here is the complete program:
[snip]
having had a short look it seems like all linkage to functions does not work - data types behave different as they might be completely defined in the headers.


Linking always fails. Here's the message I get in return:


------ Build started: Project: freetypebin, Configuration: Debug Win32
------
Linking...
[snip]
I've been wanting to install freetype for use with Font drawing in OpenGL,
which i'm presently learning, but I've spent weeks trying to get it to
work,
without success.
If you just want to install and use freetype, we have built a freetype package to suit our compilers which included Visual Studio EE (2k5 which is compatible to 2k8). http://winkde.org/pub/kde/ports/win32/repository/win32libs/freetype-msvc-2.3.5-2-bin.tar.bz2
and
http://winkde.org/pub/kde/ports/win32/repository/win32libs/freetype-msvc-2.3.5-2-lib.tar.bz2
(I might update them sooner or later to a more recent version).

and yes, I've included the path to the library file in my project settings
and all that.

The only other thing I could think of is that you're missing the import library for freetype.dll (freetype.lib)
somehow.

regards,
Patrick
--
View this message in context:
http://www.nabble.com/impossble-trouble-installing-free-type-on-Vis-C%2B%2B-tp18350705p18350705.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel

_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel





--
web:                 http://windows.kde.org
mailing list:        address@hidden
irc:                 #kde-windows (irc.freenode.net)




reply via email to

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