Title: specific SDL directory Post by: Mored on November 06, 2012, 05:43:02 pm Hello, I am trying to install UQM on Linux. So far I installed required packages into custom derictories. Is it possible to specify where SDL is installed when running
build.sh uqm config ? I am getting following text Quote 'echo -n' capable echo found. Sed stream editor found. tr found. Make found. build/unix/config_proginfo_host: line 253: libmikmod-config: command not found build/unix/config_proginfo_host: line 254: libmikmod-config: command not found build/unix/config_proginfo_host: line 255: libmikmod-config: command not found GNU C compiler found. We have a C preprocessor. We have a C dependency generator. We have a C compiler. We have a linker. Little-endian machine detected. Found version 1.2.7 of Simple DirectMedia Layer, but version 1.2.8 is required! Is it possible to do something like --with-sdl-prefix=/my_sdl_dir ? I have 1.2.15 installed but it is not in standard directory and it is not possible here to install SDL in any other way. Title: Re: specific SDL directory Post by: Novus on November 08, 2012, 10:12:24 am You could try working around this by using the environment variables for GCC (http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html) and ld (http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html) to change where the libraries are sought.
Title: Re: specific SDL directory Post by: meep-eep on November 08, 2012, 07:03:55 pm The location of the SDL library is determined by the output of the 'sdl-config' command. If you make sure that the directory which contains the correct version is listed in your path before the other version, then it should be found and used by UQM.
|