J
James F. Hranicky
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.
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.