Going through hell for SDL_ttf

I’m using Visual Studio .NET with Windows XP. SDL_ttf requires FreeType
2. FreeType 2 doesn’t have a binary download, only the source code. I
can’t figure out how to use the makefile without using Linux. When I
download GNU Make, I have to build that myself because it only comes
with the source. I follow the instructions provided exactly (running
vcvars32.bat, then “nmake /f NMakefile”) and it fails, the last lines
being:

NMAKE : fatal error U1077: ‘“C:\Program Files\Microsoft Visual Studio
.NET\VC7\BIN\nmake.exe”’ : return code '0x2’
Stop.

So with MSVC 7, the GNU Make instructions don’t seem to work. So then I
decide to try Jam. FreeType’s website recommends using Jam to make
their source. So I go find Jam’s website, download it, and follow its
instructions. I would go through all the details on that failure, but I
don’t think knowing the details would help any.

So can somebody help me troubleshoot building make, or can someone just
send me an already built Win32 binary for FreeType? I really want
SDL_ttf working.

  • Micah

Hi,

it’s kinda weird. I read other post about this problem too. I think that you
are looking for Freetype, because the SDL_ttf page is not really clear,
because it sais you need it. But my experience is that you don’t. I think
that Freetype is linked within SDL_ttf.dll / lib…

(I send you a e-mail to your private adress containing a project. If you get
it linked, you know that it works for your system too).

Patrick.>On Wed, 25 Dec 2002 04:06:13 -0500 “Micah Lee” wrote.

I’m using Visual Studio .NET with Windows XP. SDL_ttf requires FreeType
2. FreeType 2 doesn’t have a binary download, only the source code. I
can’t figure out how to use the makefile without using Linux. When I
download GNU Make, I have to build that myself because it only comes
with the source. I follow the instructions provided exactly (running
vcvars32.bat, then “nmake /f NMakefile”) and it fails, the last lines
being:

NMAKE : fatal error U1077: ‘“C:\Program Files\Microsoft Visual Studio
.NET\VC7\BIN\nmake.exe”’ : return code '0x2’
Stop.

So with MSVC 7, the GNU Make instructions don’t seem to work. So then I
decide to try Jam. FreeType’s website recommends using Jam to make
their source. So I go find Jam’s website, download it, and follow its
instructions. I would go through all the details on that failure, but I
don’t think knowing the details would help any.

So can somebody help me troubleshoot building make, or can someone just
send me an already built Win32 binary for FreeType? I really want
SDL_ttf working.

  • Micah

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

PS I think you need it when you want to modify it, thus if you choose to
download the source, in stead of the runtime…>On Wed, 25 Dec 2002 04:06:13 -0500 “Micah Lee” wrote.

I’m using Visual Studio .NET with Windows XP. SDL_ttf requires FreeType
2. FreeType 2 doesn’t have a binary download, only the source code. I
can’t figure out how to use the makefile without using Linux. When I
download GNU Make, I have to build that myself because it only comes
with the source. I follow the instructions provided exactly (running
vcvars32.bat, then “nmake /f NMakefile”) and it fails, the last lines
being:

NMAKE : fatal error U1077: ‘“C:\Program Files\Microsoft Visual Studio
.NET\VC7\BIN\nmake.exe”’ : return code '0x2’
Stop.

So with MSVC 7, the GNU Make instructions don’t seem to work. So then I
decide to try Jam. FreeType’s website recommends using Jam to make
their source. So I go find Jam’s website, download it, and follow its
instructions. I would go through all the details on that failure, but I
don’t think knowing the details would help any.

So can somebody help me troubleshoot building make, or can someone just
send me an already built Win32 binary for FreeType? I really want
SDL_ttf working.

  • Micah

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hmm, it’s been a long time since I went slumming^W^W used a Windows system,
but I think you need cygwin:

http://www.cygwin.com/

This has your pre-built make (http://cygwin.com/packages/) then you should be
on your way. It’s GNU, it’s free.

DanielOn Wednesday 25 December 2002 10:56, patrick wrote:

PS I think you need it when you want to modify it, thus if you choose to
download the source, in stead of the runtime…

On Wed, 25 Dec 2002 04:06:13 -0500 “Micah Lee”
wrote. I’m using Visual Studio .NET with Windows XP. SDL_ttf requires
FreeType 2. FreeType 2 doesn’t have a binary download, only the source
code. I can’t figure out how to use the makefile without using Linux.
When I download GNU Make, I have to build that myself because it only
comes with the source. I follow the instructions provided exactly
(running vcvars32.bat, then “nmake /f NMakefile”) and it fails, the last
lines being:

Micah Lee wrote:

So can somebody help me troubleshoot building make, or can someone just
send me an already built Win32 binary for FreeType? I really want
SDL_ttf working.

There are .dsw and .dsp files you can open in the builds\win32\visualc
directory. Just open them, and build as usual.

Or, you can get a binary version at
http://gnuwin32.sourceforge.net/packages/freetype.htm

.s - googlebot

You’re right; it seems to be working fine without FreeType. Thanks, my
problem is solved.> ----- Original Message -----

From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of
patrick
Sent: Wednesday, December 25, 2002 4:55 AM
To: sdl at libsdl.org
Subject: Re: [SDL] Going through hell for SDL_ttf

Hi,

it’s kinda weird. I read other post about this problem too. I think that
you
are looking for Freetype, because the SDL_ttf page is not really clear,
because it sais you need it. But my experience is that you don’t. I
think
that Freetype is linked within SDL_ttf.dll / lib…

(I send you a e-mail to your private adress containing a project. If you
get
it linked, you know that it works for your system too).

Patrick.

On Wed, 25 Dec 2002 04:06:13 -0500 “Micah Lee” <@Micah_Lee>
wrote.
I’m using Visual Studio .NET with Windows XP. SDL_ttf requires
FreeType
2. FreeType 2 doesn’t have a binary download, only the source code. I
can’t figure out how to use the makefile without using Linux. When I
download GNU Make, I have to build that myself because it only comes
with the source. I follow the instructions provided exactly (running
vcvars32.bat, then “nmake /f NMakefile”) and it fails, the last lines
being:

NMAKE : fatal error U1077: ‘“C:\Program Files\Microsoft Visual Studio
.NET\VC7\BIN\nmake.exe”’ : return code '0x2’
Stop.

So with MSVC 7, the GNU Make instructions don’t seem to work. So then
I
decide to try Jam. FreeType’s website recommends using Jam to make
their source. So I go find Jam’s website, download it, and follow its
instructions. I would go through all the details on that failure, but
I
don’t think knowing the details would help any.

So can somebody help me troubleshoot building make, or can someone just
send me an already built Win32 binary for FreeType? I really want
SDL_ttf working.

  • Micah

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl