source: trunk/contrib/NOTES @ 949

Last change on this file since 949 was 947, checked in by sam, 9 years ago

build: add a Win64 build of libSDL. Useless for now, because SDL_Image
and SDL_Mixer are needed and are a lot harder to build.

File size: 1.1 KB
Line 
1#####################
2# Building contribs #
3#####################
4
5
6Glew
7----
8
9Download page: http://sourceforge.net/projects/glew/files/glew
10
11- fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to
12  get the right compiler and linker executable names.
13
14- make SYSTEM=linux-mingw32
15- i686-w64-mingw32-ranlib lib/*.a
16- copy lib/*.a in the contrib directory as *.lib
17
18- make clean
19
20- make SYSTEM=linux-mingw64
21- x86_64-w64-mingw32-ranlib lib/*.a
22- copy lib/*.a in the contrib directory as *.lib
23
24
25SDL
26---
27
28Download page: http://www.libsdl.org/release/
29
30Win32:
31- just take the pre-compiled binaries from upstream
32
33Win64:
34- ./configure --host=x86_64-w64-mingw32
35- deactivate NONAMELESSUNION in src/video/windx5/directx.h
36- make -j6
37- copy build/libSDLmain.a as SDLmain.lib
38- copy build/.libs/libSDL.a as SDL.lib
39- copy build/.libs/SDL.dll as SDL.dll
40
41
42SDL_Image
43---------
44
45Download page: http://www.libsdl.org/projects/SDL_image/release/
46
47Hard to do, requires libjpeg, libtiff, libpng, zlib...
48
49
50SDL_Mixer
51---------
52
53Download page: http://www.libsdl.org/projects/SDL_mixer/release/
54
55Hard to do, requires libogg, libvorbis, mikmod, libsmpeg...
56
Note: See TracBrowser for help on using the repository browser.