[go: up one dir, main page]

Skip to content
forked from banister/devil

ruby bindings for devil cross platform image loading library

License

Notifications You must be signed in to change notification settings

mamontov-cpp/devil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt text

A Ruby 2.0+ Devil with better support for Windows

  • Fixed all deprecation warnings, like using Config (replaced by RbConfig)
  • Solved an issue, when compiling on Ruby 2.0 on Windows caused errors.

How to install

  • Install Ruby DevKit, following instruction from DevKit's manual
  • Download DevIL here and copy include files to %RUBYINSTALLDIR%/include/ and all library files to %RUBYINSTALLDIR%/lib/, where %RUBYINSTALLDIR% - folder, where Ruby installed (not DevKit)
  • This and following steps has been tested on Windows only. In gem folder run "rake compile"
  • Run "rake native gem"
  • Run "cd pkg"
  • Run "gem install --local devil-0.1.9.5-x86-mingw32.gem" (x64 - if you architecture is x64)
  • That's all. Don't forget to copy shared libraries of DevIL to some easily accessible place for a system (like system32 folder)
  • If some step causes errors, check this page

Ruby Devil version 0.1.9.5

Read The Documentation

Ruby bindings for the Developer's Image Library You need DevIL installed to use this extension

The Ruby Devil Project page is here: http://github.com/banister/devil

Installation Instructions:

For debian:

  • install the libdevil and libdevil-dev packages

For Gentoo:

  • emerge "media-libs/devil"

For windows:

For macosx:

  • sudo port install libdevil

For other systems:

After you've installed the DevIL libraries you install the gem by going:

  • gem install devil

If you wish to use the Gosu and TexPlay extensions, it is necessary to also have:

  • the Gosu gem (gem install gosu)
  • the TexPlay gem (gem install texplay)
  • ruby-opengl (gem install ruby-opengl)

For now, there is support for just a subset of DevIL functions, but it is enough for 95% things you may want to do.

For example uses, see test/ directory (note: that many of the examples use the Gosu library...this is often just for visualization purposes. Alot of the functionality does not depend on Gosu being present)

About

ruby bindings for devil cross platform image loading library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.1%
  • C 44.9%