Open agrimm opened 13 years ago
By means of comparison, it installed fine on OS X Snow Leopard.
I'm unfamiliar with mingw + ruby development, and c++ is pretty tough to make happen with Ruby to begin with. In doing some digging, such "multiple definition" issues seem to have cropped up with mingw before. It seems that specifying -lstdc++
pulls in both a DLL and a static archive of the same library. Unfortunately I'm not exactly sure how to fix this in the extconf.rb file, which is what generates that config line. I'll leave this open, and probably just end up rewriting it all in straight C, which is much easier to mix with Ruby.
Thanks for the reply. Are the creators of RubyInstaller aware of "multiple definition" issues happening with some gems?
This was incorrectly marked fixed because my redmine issue numbers differ from github's, and I haven't nailed that down yet.
I asked about this in the RubyInstaller mailing list, and got a reply from Luis Lavena who created a gist modifying laser. http://groups.google.com/group/rubyinstaller/browse_thread/thread/b456fb497477bd
I haven't tried out the gist yet.
@michaeledgar The gist is here:
https://gist.github.com/9c427254f4b97eb54c1b
Also, using rake-compiler will enable in a future any can generate cross compiled gems (from Linux/OSX to Windows) so you can try changes without the need of a Windows box.
Cheers.
Running the following command on Windows with RubyInstaller installed Ruby
gave me
Let me know if you need more details.