File: README.en.win32

package info (click to toggle)
ruby-sdl 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,548 kB
  • sloc: cpp: 7,598; ansic: 4,498; ruby: 2,246; makefile: 110; sh: 102
file content (72 lines) | stat: -rw-r--r-- 2,051 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

Ruby/SDL 2.1.0 Win32's binary
Ohbayashi Ippei

1 What's Ruby/SDL?

Ruby/SDL is the ruby extension library to use SDL.
SDL(Simple DirectMedia Layer) is a cross-platform multimedia library      
designed to provide fast access to the graphics framebuffer and audio    
device. See http://www.libsdl.org/ if you want to know SDL in detail.

2 Platform

This library supports 
Linux on X,Win32,FreeBSD and BeOS.

And this archive contains compiled Ruby/SDL for win32 mingw's Ruby.
This binary is tested on WindowsXP, Ruby 1.8.5-p12 mswin32 and SDL 1.2.11.

3 Install

First, install mingw32 Ruby.
You can get that from
http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html

Therefore, you should run command prompt, change directory(cd) here,
and type
  ruby install_rubysdl.rb
then all files are copyed and finish installation.

3.1 Another way to install
Copy ext\sdl.so, ext\opengl.so, lib\sdl.rb, lib\rubysdl_aliases.rb
and all DLL files in dll\ to appropriate folder.
If you have installed Ruby at
C:\ruby ( in other words ruby.exe is under C:\ruby\bin ) ,
you'll copy sdl.so, and opengl.so to C:\ruby\lib\ruby\site-ruby\1.8\i386-msvcrt,
copy sdl.rb and rubysdl_aliases.rb to C:\ruby\lib\ruby\site-ruby\1.8\,
and copy all DLL files to PATH directory.

Therefore that's all right.

4 How to use

You can find documents and samples in this archive.

5 License

sdl.so, sdl.rb are under LGPL version 2.1.
opengl.so is under Ruby's Licence.

Ohbayashi Ippei has sdl.so, rubysdl_aliases and sdl.rb 's  copyright, and
Yoshiyuki Kusano hase opengl.so's copyright.

6 Note
Perhaps you cannot use hardware surface.

7 Version information
Ruby 1.8.5-p12
SDL 1.2.11
SDL_image 1.2.5
SDL_ttf 2.0.7
SDL_mixer 1.2.7
SGE 030809 + patch for overflow error
Ruby/opengl 0.32g
iconv 1.11
sdlskk 0.4+

8 Other

Please send comments and bug reports to the author or rubyforge's BTS.
RubyForge's project page: http://rubyforge.org/projects/rubysdl/
Author's mail address: ohai@kmc.gr.jp