Compilation errors for FXRuby-1.0.25

With the following configurations:

FOX Version : fox-1.1.34
ruby version : ruby 1.8.0 (2003-08-04)
Platforms : Solaris 8, gcc 3.3.1
Mandrake 9.1, gcc 3.2.2

I’m getting the following errors compiling FXRuby-1.0.25:

g++ -fPIC -g -O2 -fPIC -O0 -Iinclude -I.
-I/usr/local/lib/ruby/1.8/sparc-solaris2.8
-I/usr/local/lib/ruby/1.8/sparc-solaris2.8
-I/export/sys03/src0/jfh/ruby/FXRuby-1.0.25/ext/fox -DHAVE_SYS_TIME_H
-DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox
-c core_wrap.cpp

In file included from include/FXRuby.h:490,
from include/FXRbCommon.h:84,
from core_wrap.cpp:420:
include/FXRbStream.h:74: error: parse error before {' token In file included from include/FXRuby.h:490, from include/FXRbCommon.h:84, from core_wrap.cpp:420: include/FXRbStream.h:81: error: FXMemoryStream’ was not declared in this scope
include/FXRbStream.h:81: error: self' was not declared in this scope include/FXRbStream.h:81: error: variable or field markfunc’ declared void
include/FXRbStream.h:84: error: destructors must be member functions
include/FXRbStream.h:84: error: virtual outside class declaration
include/FXRbStream.h: In function void FXRbMemoryStream()': include/FXRbStream.h:85: error: invalid use of this’ in non-member function
include/FXRbStream.h: At global scope:
include/FXRbStream.h:87: error: parse error before `}’ token

I can’t find any references to these errors on Google or in the build
instructions, and I haven’t messed with c++ in 10 years. Anyone seen this?

FWIW, the examples that come with the fox toolkit work fine.

···

Jim Hranicky, Senior SysAdmin UF/CISE Department |
E314D CSE Building Phone (352) 392-1499 |
jfh@cise.ufl.edu http://www.cise.ufl.edu/~jfh |


                      About politics:
                 Don't worry about results
               It's the thought that counts

Ack, I obviously can’t read – this version of FOX isn’t supported by FXRuby.

Sorry for the noise.

Jim

···

On Fri, 5 Sep 2003 00:44:55 +0900 “James F. Hranicky” jfh@cise.ufl.edu wrote:

With the following configurations:

FOX Version : fox-1.1.34

James F. Hranicky wrote:

With the following configurations:

FOX Version : fox-1.1.34
ruby version : ruby 1.8.0 (2003-08-04)
Platforms : Solaris 8, gcc 3.3.1
Mandrake 9.1, gcc 3.2.2

I’m getting the following errors compiling FXRuby-1.0.25:

As stated on the home page (I wasn’t kidding!), FXRuby 1.0.x is only
compatible with the fox-1.0.x releases.

FOX 1.1.34 is an unstable development release on the track leading
(eventually) to a stable FOX 1.2 release. When FOX 1.2 is officially
“done”, I plan to have a compatible FXRuby 1.2 shortly thereafter.