Title: Help compiling with MinGW Post by: Juffo on January 20, 2006, 07:52:58 pm Quote moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8 $ make native make install prefix=/usr make[1]: Entering directory `/c/programmi/libs/sdl-1.2.8' make[1]: `install' is up to date. make[1]: Leaving directory `/c/programmi/libs/sdl-1.2.8' moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8 $ export C_INCLUDE_PATH=/c/programmi/libs/SDL-1.2.8/include/SDL:/c/programmi/li bs/SDL_image-1.2.4/include/:/c/programmi/libs/OpenAL/Include/:/c/programmi/libs /oggvorbis-win32sdk-1.0/include/:c/programmi/libs/zlib/include/ moreno@MORENO-2E1399F9 /c/programmi/libs/sdl-1.2.8 $ export LIBRARY_PATH=/c/programmi/libs/SDL_image-1.2.4/lib/:/c/programmi/libs/ OpenAL/libs/:/c/programmi/libs/oggvorbis-win32sdk-1.0/lib/:c/programmi/libs/zli b/lib/ moreno@MORENO-2E1399F9 /d/giochi/sc2/source $ build.sh uqm config 'echo -n' capable echo found. Sed stream editor found. tr found. Make found. GNU C compiler found. windres not found. Little-endian machine detected. build/unix/build.sh: sdl-config: command not found build/unix/build.sh: sdl-config: command not found Simple DirectMedia Layer not found. I followed the intstructions in INSTALL.mingw. I don't know what are the MinGW packages needed so I might miss something. After unzipping the SDL files I followed the instructions in INSTALL and typed "make native" in MSYS. What could be wrong? The paths are correct. I followed, I also tried the method of copying the files in mingw directory with the same results. Title: Re: Help compiling with MinGW Post by: Novus on January 20, 2006, 08:57:58 pm There's something funny with the installation script, I think. It's trying to create a symbolic link to the config script, but I don't think Windows supports those (at least not on FAT32). Try:
Code: cp /c/programmi/libs/sdl-1.2.8/bin/i386-mingw32msvc-sdl-config /usr/bin/sdl-config Title: Re: Help compiling with MinGW Post by: DukHunter on June 17, 2016, 11:50:01 am There's something funny with the installation script, I think. It's trying to create a symbolic link to the config script, but I don't think Windows supports those (at least not on FAT32). Try: Code: cp /c/programmi/libs/sdl-1.2.8/bin/i386-mingw32msvc-sdl-config /usr/bin/sdl-config Thanks. The command above really helped with this SDL not found error. It's should be in source codes help file named "INSTALL.mingw" Also, there is need to download additional files to compile: 1) "_G_config.h" 2) "wspiapi.h" |