cfc 1.7.1 : gcc: could not find SDL_image

Speak about everything in regards to Crossfire.

Moderator: Board moderators

User avatar
tchize
Luser
Posts: 47
Joined: Tue Jun 10, 2003 5:21 pm
Location: Giants ants, Belgium
Contact:

interest of sdl +gtk over pure gtk

Post by tchize »

The gtk client with sdl support has a bit of performances improvements (not a lots as sdl is still a pure software library, no hardware accelleration) but thie main interest of dsl rendering is the perpixel lightnings (if you cpu can support it) which is fa better than those balck hashes in gtk rendering. Personally, i couldn't get back to gtk rendering! :)

For your SDL_image.h i'll say you need to install the sdl-image library and it's develepment headers. (in debian apt-get install libsdl-image-dev)


PS: You need to activate perpixel lightning in the options to see the result. (plus you need of course to have compiled against dsl).
User avatar
bencha
Junior member
Posts: 110
Joined: Tue Feb 22, 2005 3:24 pm
Location: Paris

Post by bencha »

on the sdl web site, i read that there's no more libsdl-image lib
you need of course to have compiled against dsl
it seems to be the default on the last (1.7.1) client, i.e; you have sdl if you don't disable it
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Try making a symbolic link

Code: Select all

# ln -sf /usr/local/include/SDL /usr/include
You can also edit the configure script somewhere to include

Code: Select all

-I/path/to/include/sdl -I/usr/local/include -I/other/include/areas
lordyoukai.DA
My wraith is cooler than your dragon.
Post Reply