# Compile error

**URL:** <https://discourse.libsdl.org/t/compile-error/11335>\
**Category:** SDL Development\
**Created:** [October 3, 2004, 1:13pm UTC](https://discourse.libsdl.org/t/compile-error/11335 "2004-10-03T13:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bastiaan\_Wakkie](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@Bastiaan\_Wakkie](https://discourse.libsdl.org/u/Bastiaan_Wakkie)\
**Post date:** [October 3, 2004, 1:13pm UTC](https://discourse.libsdl.org/t/compile-error/11335/1 "2004-10-03T13:13:01Z")

</div>

Hi,

Just got an error while compiling:

[code]

[bw at localhost SDL\_ttf-2.0.6]$ make  
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=“SDL\_ttf” -DVERSION=“2.0.6” -DHAVE\_ALLOCA\_H=1 -DHAVE\_ALLOCA=1 -I. -I. -g -O2 -I/usr/include/freetype2 -I/usr/local/include/SDL -D\_REENTRANT -I/usr/X11R6/include -c SDL\_ttf.c  
rm -f .libs/SDL\_ttf.lo  
gcc -DPACKAGE=“SDL\_ttf” -DVERSION=“2.0.6” -DHAVE\_ALLOCA\_H=1 -DHAVE\_ALLOCA=1 -I. -I. -g -O2 -I/usr/include/freetype2 -I/usr/local/include/SDL -D\_REENTRANT -I/usr/X11R6/include -c SDL\_ttf.c -fPIC -DPIC -o .libs/SDL\_ttf.lo  
SDL\_ttf.c: In function `TTF_OpenFontIndexRW': SDL_ttf.c:276:`ft\_open\_stream’ undeclared (first use in this function)  
SDL\_ttf.c:276: (Each undeclared identifier is reported only once  
SDL\_ttf.c:276: for each function it appears in.)  
make: \*\*\* [SDL\_ttf.lo] Fout 1  
[bw at localhost SDL\_ttf-2.0.6]$

[\code]

Anyone a solution?

Cheers,  
Bastiaan

* * *

Bastiaan Wakkie  
Rue de la Jonchaie 15 / 22  
1040 Brussels - Belgium  
[http://www.wakkie.org](http://www.wakkie.org)  
[http://www.syrphidae.com](http://www.syrphidae.com)  
mailto:;@Bastiaan_Wakkie

---

<div class="post-metadata">

**Author:** ![Donny\_Viszneki](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/donny_viszneki/32/360_2.png) [@Donny\_Viszneki](https://discourse.libsdl.org/u/Donny_Viszneki)\
**Post date:** [October 3, 2004, 10:27pm UTC](https://discourse.libsdl.org/t/compile-error/11335/2 "2004-10-03T22:27:29Z")

</div>

> Hi,
> 
> Just got an error while compiling:

What system are you running? What version of that system? What version  
of SDL are you using? COME ON MAN! We can’t help you if you don’t tell  
us the MOST BASIC information about your situation.

> [code]

This isn’t UBB guy.

> Cheers,  
> \<bastiaan.gif\>

I can’t believe you put an image of your signature on all your emails.On Oct 3, 2004, at 9:13 AM, Bastiaan Wakkie wrote:

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [November 12, 2004, 9:05pm UTC](https://discourse.libsdl.org/t/compile-error/11335/3 "2004-11-12T21:05:44Z")

</div>

> SDL\_ttf.c:276: `ft\_open\_stream’ undeclared (first use in this function)

Just change it to FT\_OPEN\_STREAM  
I’m releasing a new version of SDL\_ttf soon which solves these problems.

See ya,  
-Sam Lantinga, Software Engineer, Blizzard Entertainment
