Reputation: 717
I'm using the StarRuby (https://github.com/hajimehoshi/starruby) library and am attempting to compile the latest version to a .so file for linking in my ruby project.
However, after acquiring the needed libraries for compilation, and running the extconf.rb file to make the Makefile, I find that the C code does not comply to the C90 format, and more than like requires the C99 format.
This is a problem because mingw does not use C99, and I am stuck on Windows.
How can I compile the above source code into a .so for requiring in ruby on Windows?
The makefile: http://pastebin.com/raw.php?i=i2ANc82g
The exact output of the makefile can be found here: http://pastebin.com/raw.php?i=VpbmyLgy
Since rolling back to libpng 1.2: http://pastebin.com/raw.php?i=TqdeADHY
Upvotes: 0
Views: 228