nanogui: xfreecell compiling error
Subject:
Re: xfreecell compiling error
From:
####@####.#### ####@####.####
Date:
26 Sep 2006 07:14:17 +0100
Message-Id: <1159251245.2580.1.camel@fc5>
On Mon, 2006-09-25 at 17:08 +0800, ####@####.#### wrote:
> Dear All,
>
> I got the error when I attempt to make xfreecell, but I am not good at C
> ++. Can anyone gives me some ideas? Thanks!
>
> g++ -c -g -Wall -DBOGUSRANDOM
> -I/work/linux/microwindows-0.91/src/include card. cpp
> widget/widget.h:45: warning: ‘class NSComponent’ has virtual functions
> but non-virtual destructor
> widget/widget.h:119: error: ISO C++ forbids declaration of ‘vector’ with
> no type
> widget/widget.h:119: error: expected ‘;’ before ‘<’ token
> widget/widget.h:176: error: ‘string’ does not name a type
>
> Best regards!
> Alex
>
Can anyone help to answer this question? Thanks!