[fxruby-users] FXRuby-1.6.19 don't run in ruby1.9.1 on windows.

David MacMahon davidm at astro.berkeley.edu
Thu Mar 12 13:14:22 EDT 2009


On Mar 12, 2009, at 6:56 , Lyle Johnson wrote:

>> I change the follow line in file FXRuby.cpp
>> extern "C" void Init_fox16(void)
>> into
>> extern "C" void __attribute__ ((dllexport)) Init_fox16(void).
>>
>> then recompile it and link.
>
> Thanks! I am going to try to figure out how to add this attribute  
> in a cross-platform way (i.e. so that adding it doesn't break the  
> build for other compilers and OS's).

How/why did this work before with Ruby 1.8?

Just curious,
Dave



More information about the fxruby-users mailing list