[Fxruby-users] Re: Build problem with FXRuby on Debian
Status: Inactive
Brought to you by:
lyle
From: <ly...@kn...> - 2003-11-24 22:49:23
|
On Tue, 25 Nov 2003 09:07:15 +1100, cj...@ma... wrote : > > OK. Can you show me the output of: > > ldd /usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox.so > > on your system? > > $ ldd /usr/local/lib/ruby/site_ruby/1.8/i686-linux/fox.so > libFOX-1.0.so.0 => /usr/lib/libFOX-1.0.so.0 (0x404dc000) <snip> The symbol it claims is missing (FXApp::metaClass) is a static member of the FXApp class, and it is declared by the FXDECLARE macro that appears in the FXApp class definition: class FXAPI FXApp : public FXObject { FXDECLARE(FXApp) ... and so on ... }; The FXDECLARE macro itself is defined in FXObject.h: #define FXDECLARE(classname) \ public: \ struct FXMapEntry { ... }; \ static const FXMetaClass metaClass; \ ... and so on ... So I can't see why this would be missing, unless something went wrong when building the FOX library (libFOX.so). Just curious, can you run any of the FOX example programs (i.e. those for the C++ library)? They are found under the "tests" subdirectory of the FOX source code distribution. Hope this helps, Lyle |