# SDL\_rtf 1.3 build errors

**URL:** <https://discourse.libsdl.org/t/sdl-rtf-1-3-build-errors/18223>\
**Category:** SDL Development\
**Created:** [May 27, 2011, 1:16am UTC](https://discourse.libsdl.org/t/sdl-rtf-1-3-build-errors/18223 "2011-05-27T01:16:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![greno](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/greno/32/2373_2.png) [@greno](https://discourse.libsdl.org/u/greno)\
**Post date:** [May 27, 2011, 1:16am UTC](https://discourse.libsdl.org/t/sdl-rtf-1-3-build-errors/18223/1 "2011-05-27T01:16:06Z")

</div>

Today I installed SDL-1.3, and SDL\_ttf and SDL\_rtf.

ran:  
sh [autogen.sh](http://autogen.sh)  
./configure  
make

for all of them.

SDL\_rtf shows errors during make:

Code:  
gcc -DPACKAGE\_NAME="" -DPACKAGE\_TARNAME="" -DPACKAGE\_VERSION="" -DPACKAGE\_STRING="" -DPACKAGE\_BUGREPORT="" -DSTDC\_HEADERS=1 -DHAVE\_SYS\_TYPES\_H=1 -DHAVE\_SYS\_STAT\_H=1 -DHAVE\_STDLIB\_H=1 -DHAVE\_STRING\_H=1 -DHAVE\_MEMORY\_H=1 -DHAVE\_STRINGS\_H=1 -DHAVE\_INTTYPES\_H=1 -DHAVE\_STDINT\_H=1 -DHAVE\_UNISTD\_H=1 -DHAVE\_DLFCN\_H=1 -DLT\_OBJDIR=".libs/" -DPACKAGE=“SDL\_rtf” -DVERSION=“0.1.1” -I. -g -O2 -D\_GNU\_SOURCE=1 -D\_REENTRANT -I/usr/include/SDL -MT showrtf.o -MD -MP -MF .deps/showrtf.Tpo -c -o showrtf.o showrtf.c  
showrtf.c:31:21: error: SDL\_ttf.h: No such file or directory

Notice the -I/usr/include/SDL. It should be -I/usr/local/include/SDL

I had to change the Makefile settings for CFLAGS and SDL\_FLAGS from this:

Code:  
-I/usr/include/SDL

to this:

Code:  
-I$(libSDL\_rtfincludedir)

and then SDL\_rtf would compile.

Is it a bug? Or is there something I should be feeding to configure?

BTW, I have an existing installation of SDL-1.2 that is installed under /usr.

.
