abexsoft / ruby-ogre

Ruby-ogre is a ruby extension for Ogre.
Other
6 stars 2 forks source link

ruby-ogre on windows? #2

Open ixevix opened 11 years ago

ixevix commented 11 years ago

Does this gem work on windows?

I can't seem to get require 'Ogre' to work. It just gives the following error:

D:/ruby-ogre/main.rb:1:in `require': 126: The specified module could not be found. - C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-ogre-0.0.1-x86-mingw32/lib/Ogre.so (LoadError)

abexsoft commented 11 years ago

I have stopped windows support since the first release, and removed mingw environment, so I can't reproduce this issue on my pc immediately. But according to the error message, ruby does not seem to be able to load OgreMain.dll which is linked by Ogre.so. Can you try to add PATH to OgreMain.dll?