RubyGame on windows

M

Mohammad ---

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"?
 
J

Justin Collins

Mohammad said:
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 ? 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
 
M

Mohammad ---

Justin said:
Did you read and follow the installation instructions at
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?
 
M

Mohammad ---

Okay new error:
pic. at geocities.com/name_here44/error.jpg

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

Kevin Jackson

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
 
N

Nobuyoshi Nakada

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.
 
H

Han Dao

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

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



As far as I know, Rubygame doesn't support sound in the first place.<br><br><div><span class="gmail_quote">On 10/18/06, <b class="gmail_sendername">Kevin Jackson</b> &lt;<a href="mailto:[email protected]">[email protected]
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I looked at rubygame a couple of weeks ago, it wasn't difficult to set
<br>up *if* you follow the instructions on the website.&nbsp;&nbsp;The most<br>important thing is to make sure your SDL.dll and associated dlls<br>(libtiff etc) are in windows/system32 as rubygame wouldn't pick them<br>up from the path (IME).
<br><br><br>It's not a bad library, but a warning, right now sound support is broken.<br><br>Kev<br><br></blockquote></div><br>
 
M

Mohammad ---

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,215
Messages
2,571,113
Members
47,713
Latest member
LeliaB1379

Latest Threads

Top