initialize': Unknown error (RuntimeError)
from /SonOfSword/data/scripts/specjal.rb:27:in
new'require 'rbconfig'
if defined? RUBY_PLATFORM and
%w(-win32 win32- mswin mingw32).any? { |s| RUBY_PLATFORM.include? s } then
ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}"
end
spooner@fish:~$ gem install ashton --pre
Fetching: opengl-0.8.0.pre1.gem (100%)
Building native extensions. This could take a while...
Fetching: gosu-0.7.45.gem (100%)
Building native extensions. This could take a while...
Fetching: ashton-0.0.2alpha.gem (100%)
Building native extensions. This could take a while...
Successfully installed opengl-0.8.0.pre1
Successfully installed gosu-0.7.45
Successfully installed ashton-0.0.2alpha
3 gems installed
ENV['PATH']
issue when I get around to it. Thanks for pointing it out!
C:/Ruby/bin/ruby.exe extconf.rb
checking for glVertex3d() in -lopengl32.lib... no
checking for main() in -lopengl32... yes
checking for GL/gl.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
...
--without-opengl32lib
extconf.rb:39:in <main>': undefined method
<<' for nil:NilClass (NoMethodError)
color = @masks[[x/768, y/672]][x%768, y%672]
color = @masks[[x/768, y/672]][x%768, 672-y%672]
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill