# RubyGame on windows

**URL:** <https://www.ruby-forum.com/t/rubygame-on-windows/72556>\
**Category:** Ruby\
**Created:** [October 18, 2006, 1:27am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556 "2006-10-18T01:27:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 18, 2006, 1:27am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/1 "2006-10-18T01:27:40Z")

</div>

I just installed rubygame for windows but when I require it, the  
“rubygame.rb” tries to load “rubygame.so” which I don’t have if I remove  
this require from the lib then there are errors that alot of things are  
undifiend, where can I find this “rubygame.so”?

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 18, 2006, 1:59am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/2 "2006-10-18T01:59:06Z")

</div>

Mohammad — wrote:

> I just installed rubygame for windows but when I require it, the  
> “rubygame.rb” tries to load “rubygame.so” which I don’t have if I remove  
> this require from the lib then there are errors that alot of things are  
> undifiend, where can I find this “rubygame.so”?

Did you read and follow the installation instructions at  
[http://rubygame.infogami.com/win32](http://rubygame.infogami.com/win32) ? It should be loading rubygame.dll,  
actually. It looks like you have to move a lot of stuff around to get it  
working.

Good luck.

-Justin

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 2:30am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/3 "2006-10-19T02:30:00Z")

</div>

Justin C. wrote:

> Mohammad — wrote:
> 
> > I just installed rubygame for windows but when I require it, the  
> > “rubygame.rb” tries to load “rubygame.so” which I don’t have if I remove  
> > this require from the lib then there are errors that alot of things are  
> > undifiend, where can I find this “rubygame.so”?
> 
> Did you read and follow the installation instructions at  
> [http://rubygame.infogami.com/win32](http://rubygame.infogami.com/win32) ? It should be loading rubygame.dll,  
> actually. It looks like you have to move a lot of stuff around to get it  
> working.
> 
> Good luck.
> 
> -Justin

Hmm… That’s what I used check this out:

# This is the file that should be imported, it in turn imports

rubygame.so

# (which has all of the C code for rubygame) and all the other rubygame

modules

require “rbconfig”

require “rubygame.%s”%[Config::CONFIG[“DLEXT”]]

okay I actually looked in my lib and I don’t seem to have rbconfig, yet  
I don’t get an error about that for somereasson but, it seems like it  
needs to be loaded from the way that Config::CONFIG thing jumps out. So  
what do I do to get this working?

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 2:37am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/4 "2006-10-19T02:37:50Z")

</div>

Okay new error:  
pic. at [Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](http://geocities.com/name_here44/error.jpg)

Does this mean there is somthing wrong with my SDL dll or what?

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 2:47am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/5 "2006-10-19T02:47:58Z")

</div>

Hi, don’t use geocities. They’re evil. I got not found error.

It might be better to quote what the error actually say.

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 3:20am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/6 "2006-10-19T03:20:00Z")

</div>

I looked at rubygame a couple of weeks ago, it wasn’t difficult to set  
up _if_ you follow the instructions on the website. The most  
important thing is to make sure your SDL.dll and associated dlls  
(libtiff etc) are in windows/system32 as rubygame wouldn’t pick them  
up from the path (IME).

It’s not a bad library, but a warning, right now sound support is  
broken.

Kev

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 4:04am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/7 "2006-10-19T04:04:05Z")

</div>

As far as I know, Rubygame doesn’t support sound in the first place.

On 10/18/06, Kevin J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Kev

As far as I know, Rubygame doesn’t support sound in the first  
place.

On 10/18/06, **Kevin J.** \<[removed\_email\_address@domain.invalid  
 ](mailto:removed_email_address@domain.invalid)\> wrote:

> I looked at rubygame a couple of weeks ago,  
> it wasn’t difficult to set  
>   
> up _if_ you follow the instructions on the website.&nbsp;&nbsp;The  
> most  
> important thing is to make sure your SDL.dll and associated  
> dlls  
> (libtiff etc) are in windows/system32 as rubygame wouldn’t pick  
> them  
> up from the path (IME).  
>   
>   
>   
> It’s not a bad library, but a warning, right now sound  
> support is broken.  
>   
> Kev

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 3:34am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/8 "2006-10-19T03:34:02Z")

</div>

Hi,

At Thu, 19 Oct 2006 09:30:05 +0900,  
Mohammad — wrote in [ruby-talk:220525]:

> require “rbconfig”
> 
> require “rubygame.%s”%[Config::CONFIG[“DLEXT”]]

You don’t need to do it, require “rubygame.so” actually does look for  
also rubygame.dll in 1.8.

However, the DLL included in the package is compiled with VC8, so it  
can’t work with One-Click Installer 1.8.5-21.

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [October 19, 2006, 4:13am UTC](https://www.ruby-forum.com/t/rubygame-on-windows/72556/9 "2006-10-19T04:13:12Z")

</div>

Thanks everyone that posted, I had a freind install it, I just didn’t  
install ALL of the SDL files, I didn’t read that in the install thingy  
but anyway. Thanks!
