source: trunk/external/NOTES @ 2364

Last change on this file since 2364 was 1995, checked in by sam, 8 years ago

build: upgrade glew binaries to 1.9.0 and rename the contrib directory
to external so as to avoid some autocompletion collisions with "configure".

File size: 2.0 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- take the pre-compiled binaries for Visual C++
23- take the pre-compiled libSDLmain.a for 32-bit mingw32
24
25- download the source and build libSDLmain.a for 64-bit mingw32
26  (note: CPPFLAGS=-D_CRTIMP= used to be needed)
27
28    ./configure --host=x86_64-w64-mingw32
29    make clean all
30
31- copy build/.libs/libSDLmain.a
32- copy build/.libs/libSDL.dll.a
33
34
35SDL_Image
36---------
37
38Download page: http://www.libsdl.org/projects/SDL_image/release/
39
40Hard to do, requires libjpeg, libtiff, libpng, zlib...
41
42
43SDL_Mixer
44---------
45
46Download page: http://www.libsdl.org/projects/SDL_mixer/release/
47
48Hard to do, requires libogg, libvorbis, mikmod, libsmpeg...
49
50
51Flex
52----
53
54Copied FlexLexer.h and the executable from a MinGW installation.
55
56
57Bison
58-----
59
60Copied /usr/share/bison and the executable from a MinGW installation.
61
62
63Libcaca
64-------
65
66Ran build-win32 and build-win64 on a Debian installation, copied the
67resulting .lib files and some headers.
68
69
70Bullet
71------
72
73Download page: http://code.google.com/p/bullet/downloads/list
74
75Win32:
76- build normally using Visual Studio 2010
77
78Win64:
79- build normally using Visual Studio 2010
80- remove _x64 suffix from object names
81
82Xbox 360:
83- add Xbox 360 platform to the vs2010 solution, using eg. Win32 as a preset
84- save solution and exit vs2010
85- sed -i 's@<ItemDefinitionGroup.*Xbox 360.*@&<ClCompile><PreprocessorDefinitions>_XBOX;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile>@' msvc/vs2010/*.vcxproj
86- sed -i 's@.*MachineX86.*@@' msvc/vs2010/*vcxproj
87- reload solution
88- build only required projects
89
90PS3:
91- sh autogen.sh
92- ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=powerpc
93- make -j4
94- make install DESTDIR=$PWD/tmp
95
Note: See TracBrowser for help on using the repository browser.