mettli / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Build Fails On Ubuntu 10.10 #140

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type ./autogen.sh
2. type ./configure
3. type make all

What is the expected behaviour? What happens instead?

The library should compile, but instead fails with the following error...

[snip]

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include 
-I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Wall -Wno-unused 
-DGUICHAN_BUILD -MT sdlimageloader.lo -MD -MP -MF .deps/sdlimageloader.Tpo -c 
sdlimageloader.cpp  -fPIC -DPIC -o .libs/sdlimageloader.o
sdlimageloader.cpp:50: fatal error: SDL_image.h: No such file or directory
compilation terminated.
make[2]: *** [sdlimageloader.lo] Error 1
make[2]: Leaving directory 
`/home/todd/worldforge/dev/deps/guichan-0.8.2/src/sdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/todd/worldforge/dev/deps/guichan-0.8.2/src'
make: *** [all-recursive] Error 1

What version of the product are you using? On what operating system? Which 
back-end (SDL/Allegro/OpenGL/other)?

Attempting to compile guichan-0.8.2 on Ubuntu 10.10. (SDL dev files ARE 
installed on system).

Please provide any additional information below.

Original issue reported on code.google.com by toddcar...@gmail.com on 3 Apr 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Sounds like you're missing the SDL-image dev package ( libsdl-image1.2-dev ).

Original comment by jaxad0...@gmail.com on 3 Apr 2011 at 3:36

GoogleCodeExporter commented 9 years ago
No, libsdl-image1.2-dev is definately installed.

Original comment by toddcar...@gmail.com on 3 Apr 2011 at 3:48

GoogleCodeExporter commented 9 years ago
In the compile command there's this:

-I/usr/local/include/SDL

That at least means that SDL_image.h is apparently not found there. So seems to 
me that something is wrong on your system causing it to pick an SDL include 
path that's in /usr/local/include rather than /usr/include.

Original comment by b.lindeijer on 3 Apr 2011 at 5:59