Experience does not err, it is only your judgment that errs in promising itself results which are not caused by your experiments. --Leonardo Da Vinci
설치순서 #
- 아래 설치대로 하면 자기가 알아서 mingw 배보폰을 사용해서 컴파일합니다. 생성된 DLL은 cygwin free 입니다.
(objdump -p로 확인해봤습니다)
- Cygwin 이야기의 팁을 참조하여 directx 헤더를 설치합니다. 물론 w32api도 설치되어있어야합니다.
SDL 홈페이지에서 최신 소스 tar.gz화일을 받습니다. 적당한 곳에 압축을 풉니다.
- 소스디렉토리에서 찾아보면 sdl-config.in이라는 화일이 있습니다. 다음과 같은 부분을 찾습니다.
--cflags) echo -I@includedir@/SDL @SDL_CFLAGS@ # The portable way of including SDL is #include "SDL.h" #if test @includedir@ != /usr/include ; then # # Handle oddities in Win32 path handling (assumes prefix) # prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'` # # includes=-I@includedir@ #fi #echo $includes -I@includedir@/SDL @SDL_CFLAGS@ ;; @ENABLE_SHARED_TRUE@ --libs)다음과 같이 수정합니다.--cflags) #echo -I@includedir@/SDL @SDL_CFLAGS@ # The portable way of including SDL is #include "SDL.h" #if test @includedir@ != /usr/include ; then # Handle oddities in Win32 path handling (assumes prefix) prefix=`echo ${prefix} | sed 's,^//\([A-Z]\),\1:,'` includes=-I@includedir@ #fi echo $includes -I@includedir@/SDL @SDL_CFLAGS@ ;; @ENABLE_SHARED_TRUE@ --libs) - 다음 명령을 실행시켜 directx.h를 복사합니다.
cp src/video/windx5/directx.h src/audio/windx5
- 이제 다음과 같이 실행합니다.
./autogen.sh ; ./configure --prefix=/usr ; make install clean








