# Some error happends when I use SDL model

**URL:** <https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640>\
**Category:** Ruby\
**Created:** [February 17, 2006, 12:51pm UTC](https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640 "2006-02-17T12:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e9a140/32.png) [@cfc](https://www.ruby-forum.com/u/cfc)\
**Post date:** [February 17, 2006, 12:51pm UTC](https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640/1 "2006-02-17T12:51:00Z")

</div>

Hi,  
I’ve get some problem…  
When I use the SDL model in my application, RDE showed the following  
message…

D:/MinGW/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require\_\_’: no such file to load – sdl.so (LoadError)

How can I solve this problem?

Greetings:)

---

<div class="post-metadata">

**Author:** ![cfc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e9a140/32.png) [@cfc](https://www.ruby-forum.com/u/cfc)\
**Post date:** [February 17, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/some-error-happends-when-i-use-sdl-model/69640/2 "2006-02-17T20:50:33Z")

</div>

DÅ?a Piatok 17 FebruÃ¡r 2006 12:48 CFC napÃ­sal:

> Hi,  
> I’ve get some problem…  
> When I use the SDL model in my application, RDE showed the following  
> message…
> 
> D:/MinGW/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
> `require\_\_’: no such file to load – sdl.so (LoadError)
> 
> How can I solve this problem?

Well, first questions first - do you have SDL and the Ruby binding  
installed  
at all?

Also, as you’re using the MinGW version of ruby: Is your SDL binding  
correctly  
installed? If you compiled it yourself, probably so, but if you’re using  
a  
gem with a prebuilt binary, it might have ended up in a directory Ruby  
isn’t  
expecting it. Look for directories called “i386-mingw”, and  
“i386-msvcrt”,  
and which one the file sdl.so is in.

David V.
