Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Compilation errors for FXRuby-1.0.25

Reply
Thread Tools

Compilation errors for FXRuby-1.0.25

 
 
James F. Hranicky
Guest
Posts: n/a
 
      09-04-2003
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 |
| http://www.velocityreviews.com/forums/(E-Mail Removed) http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------
About politics:
Don't worry about results
It's the thought that counts

 
Reply With Quote
 
 
 
 
James F. Hranicky
Guest
Posts: n/a
 
      09-04-2003
On Fri, 5 Sep 2003 00:44:55 +0900
"James F. Hranicky" <(E-Mail Removed)> wrote:

> With the following configurations:
>
> FOX Version : fox-1.1.34


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

Sorry for the noise.

Jim

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error with seperate compilation C__chp C++ 4 02-15-2008 03:57 PM
Dynamic compilation errors Steve ASP .Net 2 10-23-2004 05:39 PM
Newbie needs help with perl compilation errors Alfred B. Stansbury Perl 1 10-22-2004 10:55 AM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM
compilation errors Eqbal VHDL 0 11-18-2003 08:07 PM



Advertisments