Public bug reported:

I am compiling The Man World from git repository and when I compile it
after ./configure using make I get the following error:

"In file included from gui/widgets/textpreview.cpp:27:
./gui/truetypefont.h:35:21: error: SDL_ttf.h: No such file or directory"

This is the line 35 of truetypefont.h: #include <SDL_ttf.h>

It cannot find SDL include which are in "/usr/include/SDL"

trying "export CPPFLAGS="$CPPFLAGS -I/usr/include/SDL" also doesn't
helps.

If I change that line above to : #include "/usr/include/SDL/SDL_ttf.h"

then it compiles fine, but I dont know why it cannot find it by itself,
even when all other devs using jaunty are compiling git fine.

Any help please? Also I installe 8.04 then update it to 8.10 and then to
9.04, but I dont think thats an issue, I also have some issue when I
installed SDL libs, there was some error like cannot find video device
blah blah when I ran some games etc, so I dont rem how I fixed it. maybe
I messed up libsdl then. I dont have a clue, I asked tmw devs and they
said to report ubuntu about it.

Thanks

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gcc 4:4.3.3-1ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gcc-defaults
Uname: Linux 2.6.28-15-generic i686

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
gcc cannot find SDL includes
https://bugs.launchpad.net/bugs/426525
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to