wxruby-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wxruby-dev] problem with Linux version


From: Gour
Subject: [Wxruby-dev] problem with Linux version
Date: Tue, 15 Apr 2003 11:16:49 +0200
User-agent: Mutt/1.4i

Park Heesob (address@hidden) wrote:

> Download http://www.sm-c.net/wxruby/wxruby.zip
> Windows and Linux compatible version.
> I added GetValue and SetIcon API.
> See sample code minimal.rb.

I tried to to run this version on my Linux box.

Here is the error:

address@hidden:~/program/ruby/wxruby> ruby test.rb
test.rb:2:in `require': ./wx.so: invalid ELF header - ./wx.so
(LoadError)
        from test.rb:2

After creating Makefile and trying to compile, I get the following:

address@hidden:~/program/ruby/wxruby> ruby extconf.rb
creating Makefile
address@hidden:~/program/ruby/wxruby> make
g++ -fPIC -g -O2  `wx-config --cxxflags` -I.
-I/usr/local/lib/ruby/1.6/i686-linux -I.    -c -o wx.o wx.cpp
wx.cpp: In function `void WxMessageBox(int, VALUE *, long unsigned
int)':
wx.cpp:156: implicit declaration of function `int StringValuePtr(...)'
/usr/local/include/wx/string.h:281: `wxString::wxString(int)' is private
wx.cpp:156: within this context
/usr/local/include/wx/string.h:275: `class wxString & wxString::operator
=(int)' is private
wx.cpp:163: within this context
wx.cpp: In function `VALUE WxSetWorkingDirectory(long unsigned int, long
unsigned int)':
/usr/local/include/wx/string.h:281: `wxString::wxString(int)' is private
wx.cpp:181: within this context
/usr/local/include/wx/filefn.h:237: in passing argument 1 of
`wxSetWorkingDirectory(const wxString &)'
wx.cpp: In function `void Init_wx(...)':
wx.cpp:218: implicit declaration of function `int
rb_define_alloc_func(...)'
wx.cpp:741: `WxRbEVT_TASKBAR_LEFT_DCLICK' is not a member of type
`WxEvtHandler'
wx.cpp:742: `WxRbEVT_TASKBAR_LEFT_DOWN' is not a member of type
`WxEvtHandler'
wx.cpp:743: `WxRbEVT_TASKBAR_LEFT_UP' is not a member of type
`WxEvtHandler'
wx.cpp:744: `WxRbEVT_TASKBAR_MOVE' is not a member of type
`WxEvtHandler'
wx.cpp:745: `WxRbEVT_TASKBAR_RIGHT_DCLICK' is not a member of type
`WxEvtHandler'
wx.cpp:746: `WxRbEVT_TASKBAR_RIGHT_DOWN' is not a member of type
`WxEvtHandler'
wx.cpp:747: `WxRbEVT_TASKBAR_RIGHT_UP' is not a member of type
`WxEvtHandler'
make: *** [wx.o] Error 1
address@hidden:~/program/ruby/wxruby>


Thank you Park very much for working on wxRuby.

Sincerely,
Gour

ps. On Win98 all the test scripts work with some small glitches (box &
bitmap scripts do not exit properly, I have to quit the mby Ctrl-C and
in test21 (editor sample), Goto line always go to line 1.
Congratulations!

-- 
Gour
address@hidden
Registered Linux User #278493





reply via email to

[Prev in Thread] Current Thread [Next in Thread]