• Compiling Spoon from soupgate

    From Sean Rima@2:222/2 to All on Mon Jul 27 22:35:54 2009
    Hi Folks

    I am trying to compile spoon from soupgate with no joy

    I get the following error

    socket.cpp: In member function æint Socket::SendText(char*, u_long)Æ: socket.cpp:300: error: æifstreamÆ was not declared in this scope socket.cpp:300: error: expected `;' before æifInÆ socket.cpp:303: error: æifInÆ
    was not declared in this scope socket.cpp: In member function æint Socket::SendDotText(char*)Æ: socket.cpp:362: error: æifstreamÆ was not declared
    in this scope socket.cpp:362: error: expected `;' before æifInÆ socket.cpp:367:
    error: æifInÆ was not declared in this scope socket.cpp: In member function æint Socket::SendBinary(char*, u_long)Æ: socket.cpp:445: error: æifstreamÆ was not declared in this scope socket.cpp:445: error: expected `;' before æifInÆ socket.cpp:449: error: æifInÆ was not declared in this scope socket.cpp:449: error: æiosÆ has not been declared

    Has anyone recently compiled it and if they got over this problem, what was it

    Sean

    --- BBBS/LiI v4.10 Dada-1
    * Origin: BCG-Box 4 (2:222/2)
  • From Wilfred van Velzen@2:280/464 to Sean Rima on Tue Jul 28 22:25:03 2009
    Hi,

    On 27 Jul 09 22:35, Sean Rima wrote to All:
    about: "Compiling Spoon from soupgate":

    I am trying to compile spoon from soupgate with no joy

    I get the following error

    socket.cpp: In member function æint Socket::SendText(char*, u_long)Æ: socket.cpp:300: error: æifstreamÆ was not declared in this scope

    This looks like this code was written in an older "version" of c++.

    The easiest way to fix this would be adding the line

    using namespace std;

    Somewhere after the #include lines


    Bye, Wilfred.


    --- FMail/Win32 1.62.GPL
    * Origin: Amiga Offline BBS Lisse (2:280/464)
  • From Sean Rima@2:263/950 to Wilfred van Velzen on Wed Jul 29 15:55:10 2009
    Hello Wilfred.

    28 Jul 09 22:25, you wrote to me:

    I am trying to compile spoon from soupgate with no joy

    I get the following error

    socket.cpp: In member function ‘int Socket::SendText(char*,
    u_long)’: socket.cpp:300: error: ‘ifstream’ was not declared in
    this scope

    This looks like this code was written in an older "version" of c++.

    The easiest way to fix this would be adding the line

    using namespace std;

    Somewhere after the #include lines

    Indeed it was, Written many a moon ago. Done that and I have a compiled copy, thanks


    Sean

    --- GoldED+/LNX 1.1.5
    * Origin: bbs.srima.ie binkP only (2:263/950)