Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722
Windows Installation Guide - Rubygame

Windows Installation Guide


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722
From Rubygame

Jump to: navigation, search
(Added the proper location for DLLs on 64-bit Windows; also rephrased the Ruby-FFI 0.6 note.)
Line 12: Line 12:
* [http://www.ferzkopp.net/joomla/content/view/19/14/ SDL_gfx] ([http://download.rubygame.org/files/extras/SDL_gfx-2.0.18-win32.zip download for Windows]). Many thanks to a generous Rubygame user (bmatthew1) for providing a compiled Windows DLL for SDL_gfx!
* [http://www.ferzkopp.net/joomla/content/view/19/14/ SDL_gfx] ([http://download.rubygame.org/files/extras/SDL_gfx-2.0.18-win32.zip download for Windows]). Many thanks to a generous Rubygame user (bmatthew1) for providing a compiled Windows DLL for SDL_gfx!
-
Once you have downloaded everything, unzip them and copy the *.dll files into the '''{{code|C:\windows\system32\}}''' directory. This will allow the libraries to be detected and loaded by Rubygame.
+
Once you have downloaded everything, '''unzip them and copy all *.dll files''' into the appropriate directory, depending on your version of Windows:
 +
* '''64-bit''' Windows 7 or Vista: Copy to '''{{code|C:\windows\syswow64\}}''' (This directory only exists on 64-bit Windows. If it doesn't exist, you probably have 32-bit Windows, which is the most common.)
 +
* '''32-bit''' Windows 7, Vista, XP, and earlier: Copy to '''{{code|C:\windows\system32\}}'''
 +
 
 +
This will allow the libraries to be detected and loaded by Rubygame.
== Install Rubygame ==
== Install Rubygame ==
-
The simplest way to install Rubygame is: {{code|gem install rubygame}}
+
The simplest way to install Rubygame is: '''{{code|gem install rubygame}}'''
-
''Note: Rubygame is dependent on Ruby-FFI which does not seems to install properly on Windows from version 6.x. If you experience any problem installing Ruby-FFI, try to install an earlier version by typing'' '''{{code|gem install ffi --version "<0.6"}}'''
+
: '''Note:''' There is a known issue with Ruby-FFI version 0.6 on Windows. If you experience any problem installing Ruby-FFI, please install an earlier version with '''{{code|gem install ffi --version "<0.6"}}'''. Then try again to install Rubygame with '''{{code|gem install rubygame}}'''.
Or you can [http://github.com/jacius/rubygame/ download the source from Github] and follow the installation instructions in README.
Or you can [http://github.com/jacius/rubygame/ download the source from Github] and follow the installation instructions in README.

Revision as of 22:54, 10 March 2010

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox