Foreword : the vast majority of these informations and pieces of advice comes from the various members of the SDL mailing list. I hope that this thematical gathering will help the SDL users. Many thanks to the several SDL contributors ! |
Try removing the file config.cache
, and re-run configure. If you ran configure before installing jpeg/z/png libraries, it caches the results of those library checks into the config.cache
file so if you run configure again it goes faster, though it seems silly to do that. You can tell this is happening by the fact that "(cached)" appears in the line "checking for...". So just remove that file, configure, compile/install, and hopefully it will work!
For cross-compilation, please refer to our dedicated section.
Beware of the SDL versions that might already be installed on your system, by default, without even your knowning, before you installed your own SDL. You often end up with more than one version, and various SDL installations being in different places. The risk is that you use sdl-config
and/or the includes and/or the libraries of the previous installations, resulting often in various link errors.
Use, if available, locate libGL
, to known for example whether you have both the Mesa and NVidia GL libraries installed. If your OpenGL performances are poor, try removing both (ignore dependencies) and then re-install the NVidia drivers, to be sure you really use your video card capabilities.
If you have information more detailed or more recent than those presented in this document, if you noticed errors, neglects or points insufficiently discussed, drop us a line!