Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Error installing OpenGL.
- - By Andrek Date 2013-01-31 00:26
Hi guys, i don't speak english but i will try with the help of Google Translator.

First, i install DevKit of the http://rubyinstaller.org/downloads/ in "C:\Ruby1.9.3\Nueva carpeta\" (Nueva carpeta = New folder) look the picture!

C:\Ruby1.9.3\lib\ruby\site_ruby\devkit.rb
# enable RubyInstaller DevKit usage as a vendorable helper library
unless ENV['PATH'].include?('C:\\Ruby1.9.3\\Nueva carpeta\\mingw\\bin') then
  puts 'Temporarily enhancing PATH to include DevKit...'
  ENV['PATH'] = 'C:\\Ruby1.9.3\\Nueva carpeta\\bin;C:\\Ruby1.9.3\\Nueva carpeta\\mingw\\bin;' + ENV['PATH']
end
ENV['RI_DEVKIT'] = 'C:\\Ruby1.9.3\\Nueva carpeta'
ENV['CC'] = 'gcc'
ENV['CXX'] = 'g++'
ENV['CPP'] = 'cpp'


Second, i install the Gosu library using: "gem install gosu", look the picture!

Third, i try install the OpenGL library using: "gem install ruby-opengl", look the picture!

Now, i will to test the libraries:

test-gosu.rb
require 'rubygems'
require 'gosu'
gets

Work!

test-opengl.rb
require 'rubygems'
require 'opengl'
gets

No work!

Please i need help why i don't understand what happens, i can see what say Error but i don't understand why Error!

If you can answer in spanish would be better, Thanks a lot!
Parent - - By lol_o2 Date 2013-01-31 18:42
Parent - - By Andrek Date 2013-01-31 22:13
It's Work! Thanks a lot!!!!!
Parent - - By Spooner Date 2013-02-01 01:14
Don't use that version of OpenGL, since it isn't available via rubygems. Instead:
gem install --pre opengl
Parent - - By Andrek Date 2013-02-04 10:09
Ok Spooner, ready, now how to uninstall the old opengl?. Thanks a lot!
Parent - - By Spooner Date 2013-02-04 14:51
They have a different gem name, even if they are required the same (require 'opengl')
gem uninstall ruby-opengl
Parent - - By Andrek Date 2013-02-05 14:09 Edited 2013-02-05 14:16
Nice i understand! but how unistall lol_02's gem ("ruby-opengl-0.60.1-x86-mingw32-ruby19.gem") i install this gem with gem no rubygems, you understand me?

Edit:

I use: gem uninstall ruby-opengl-0.60.1-x86-mingw32-ruby19.gem but => INFO: gem "ruby-opengl-0.60.1-x86-mingw32-ruby19.gem" is not installed

I have a folder with this name: FOLDER[opengl-0.8.0.pre1-x86-mingw32] and FOLDER[ruby-opengl-0.60.1]. I need uninstall the second folder.
Parent - - By Spooner Date 2013-02-05 14:28
Just do as I said. It doesn't matter if you install the gem locally from a file or remotely from rubygems. You just call it by its name (not filename) when you uninstall it.

gem uninstall ruby-opengl
Parent - By Andrek Date 2013-02-05 15:09
Ok thanks a lot! close post please!
Up Topic Gosu / Gosu Exchange / Error installing OpenGL.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill