Andrea Fazzi wrote:
> Marc-antoine Kruzik wrote:
> 
>> I have a bug. I installed required librairies, but there is still a 
>> problem.
>> http://gemcutter.org/gems/ffi-opengl
> 
> What kind of bug? Feel free to open an issue on github about it.

I remember I have had this kind of problems, trying to use OpenGL.
Maybe I don't have the right version of one library, or I don't install 
a SDK.

Here's my bug :


require "ffi-opengl"
FFI::NotFoundError: Function 'glClearIndex' not found in [[current 
process]]
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/ffi-0.5.4-x86-mswin32/lib/ffi/library.rb:77:in 
`attach_function'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/ffi-opengl-0.2.1/lib/ffi-opengl/gl.rb:537
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/ffi-opengl-0.2.1/lib/ffi-opengl.rb:9

        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require'
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`require'


My gem list :


*** LOCAL GEMS ***

archive-tar-minitar (0.5.2)
ffi (0.5.4)
ffi-opengl (0.2.1)
fxri (0.3.6)
fxruby (1.6.16)
hpricot (0.6.164)
log4r (1.0.5)
mkrf (0.2.3)
ogre.rb (0.3)
ogrerb_cg (1.5)
ogrerb_navi (1.4)
ogrerb_ogre (1.4.5)
ogrerb_ois (1.0)
pmsrb (0.2.0)
ptools (1.1.6)
rake (0.8.7, 0.8.1)
ruby-opengl (0.60.1, 0.60.0)
ruby-processing (1.0.8)
rubyzip (0.9.1)
test-unit (2.0.1)
win32-api (1.2.1, 1.2.0)
win32-clipboard (0.4.4)
win32-dir (0.3.2)
win32-eventlog (0.5.0)
win32-file (0.5.5)
win32-file-stat (1.3.1)
win32-process (0.5.9)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.4)
windows-pr (0.9.3)
-- 
Posted via http://www.ruby-forum.com/.