Compilation errors for FXRuby-1.0.25

Discussion in 'Ruby' started by James F. Hranicky, Sep 4, 2003.

  1. 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.cise.ufl.edu/~jfh |
    ----------------------------------------------------------------------
    About politics:
    Don't worry about results
    It's the thought that counts
     
    James F. Hranicky, Sep 4, 2003
    #1
    1. Advertising

  2. On Fri, 5 Sep 2003 00:44:55 +0900
    "James F. Hranicky" <> 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
     
    James F. Hranicky, Sep 4, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eqbal

    compilation errors

    Eqbal, Nov 18, 2003, in forum: VHDL
    Replies:
    0
    Views:
    1,228
    Eqbal
    Nov 18, 2003
  2. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,031
    Mark Goldin
    Jan 17, 2004
  3. C__chp
    Replies:
    4
    Views:
    544
    Puppet_Sock
    Feb 15, 2008
  4. Replies:
    0
    Views:
    143
  5. Lyle Johnson
    Replies:
    0
    Views:
    153
    Lyle Johnson
    May 20, 2008
Loading...

Share This Page