[fxruby-users] FXRuby-1.6.19 don't run in ruby1.9.1 on windows.
proguser at yahoo.cn
Wed Mar 11 21:57:06 EDT 2009
I resolved it. the problem is that no export function in the fox16.so file in
So we must add a export attribute in the function Init_fox16 .
I change the follow line in file FXRuby.cpp
extern "C" void Init_fox16(void)
extern "C" void __attribute__ ((dllexport)) Init_fox16(void).
then recompile it and link.
then it works well now.
Lyle Johnson-4 wrote:
> On Mar 11, 2009, at 6:44 AM, prog james wrote:
>> I built fxruby-1.6.19 in win32 using msys + mingw tools.
>> The process of doing it is ok and generate a file fox16.so in the
>> But when i require 'fox16', it fails to work. it reports that
>> 127. The specified procedure could not be found . - Init_fox16
>> fox16.so ".
>> how can i resolve it? thanks.
> I don't have MinGW set up anymore and I'm not really inclined to do so
> until that becomes the new standard distribution for Ruby on Windows.
> If you come up with a solution to this problem and would like to
> submit a patch to fix it, I'd be glad to include that in a future
> release of FXRuby.
> fxruby-users mailing list
> fxruby-users at rubyforge.org
View this message in context: http://www.nabble.com/FXRuby-1.6.19-don%27t-run-in-ruby1.9.1-on-windows.-tp22451035p22468445.html
Sent from the FXRuby Users mailing list archive at Nabble.com.
More information about the fxruby-users