source: trunk/external/NOTES @ 3579

Last change on this file since 3579 was 3579, checked in by sam, 6 years ago

build: use SDL2 on Windows.

File size: 1.8 KB
Line 
1##############################
2# Building external software #
3##############################
4
5
6Glew
7----
8
9Download page: http://sourceforge.net/projects/glew/files/glew
10
11- take the pre-compiled glew32s.lib ("s" is for "static") versions for
12  both win32 and win64.
13
14- copy include/GL/ in the external directory.
15
16
17SDL
18---
19
20Download page: http://www.libsdl.org/release/
21
22- download SDL2-devel for mingw and for VC
23- take the pre-compiled 32- and 64-bit binaries for mingw32
24- take the pre-compiled 32- and 64-bit binaries for Visual C++
25
26
27SDL_Image
28---------
29
30Download page: http://www.libsdl.org/projects/SDL_image/release/
31
32Hard to do, requires libjpeg, libtiff, libpng, zlib...
33
34
35SDL_Mixer
36---------
37
38Download page: http://www.libsdl.org/projects/SDL_mixer/release/
39
40Hard to do, requires libogg, libvorbis, mikmod, libsmpeg...
41
42
43Flex
44----
45
46Copied FlexLexer.h and the executable from a MinGW installation.
47
48
49Bison
50-----
51
52Copied /usr/share/bison and the executable from a MinGW installation.
53
54
55Libcaca
56-------
57
58Ran build-win32 and build-win64 on a Debian installation, copied the
59resulting .lib files and some headers.
60
61
62Bullet
63------
64
65Download page: http://code.google.com/p/bullet/downloads/list
66
67Win32:
68- build normally using Visual Studio 2010
69
70Win64:
71- build normally using Visual Studio 2010
72- remove _x64 suffix from object names
73
74Xbox 360:
75- add Xbox 360 platform to the vs2010 solution, using eg. Win32 as a preset
76- save solution and exit vs2010
77- sed -i 's@<ItemDefinitionGroup.*Xbox 360.*@&<ClCompile><PreprocessorDefinitions>_XBOX;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile>@' msvc/vs2010/*.vcxproj
78- sed -i 's@.*MachineX86.*@@' msvc/vs2010/*vcxproj
79- reload solution
80- build only required projects
81
82PS3:
83- sh autogen.sh
84- ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=powerpc
85- make -j4
86- make install DESTDIR=$PWD/tmp
87
Note: See TracBrowser for help on using the repository browser.