nanogui: xfreecell
Subject:
xfreecell
From:
Nikolaj Berntsen ####@####.####
Date:
16 Aug 2001 16:40:37 -0000
Message-Id: <510819110362D211ABFD00A0C9A2BE4A016108A6@mail.visionik.dk>
Hi,
I am really hitting the list these days, thanks for all the replies so far!!
I am trying to compile xfreecell from the ftp site, and get his load of
errors (my second make -k, to avoid unimportant stuff in the listing).
It seems af if the API was changed after the port. I don't ask you to fix
it, but an indication of the dificulty level would be appreciated.
Here goes with the errors.
[xfreecell]$ make -k
/opt/hardhat/devkit/ppc/8xx/bin//ppc_8xx-g++ -g -c -g -Wall -DBOGUSRANDOM
-I/scr/microwin/include card.cpp
card.cpp: In method `Card::Card(Suit, unsigned int)':
card.cpp:72: implicit declaration of function `int GrNewBitmapFromData(...)'
card.cpp:72: initialization to `GR_BITMAP *' from `int' lacks a cast
card.cpp:74: initialization to `GR_BITMAP *' from `int' lacks a cast
card.cpp:75: implicit declaration of function `int GrNewCursor(...)'
card.cpp:75: no match for `Cursor & = int'
/scr/microwin/include/mwtypes.h:422: candidates are: struct MWCURSOR &
MWCURSOR::operator =(const MWCURSOR &)
make: *** [card.o] Error 1
make -C widget lib
make[1]: Entering directory `/opt/projects/microwin/xfreecell/widget'
g++ -g -Wall -DBOGUSRANDOM -I/scr/microwin/include -c textfield.cpp
textfield.cpp: In method `void NSTextField::draw ()':
textfield.cpp:38: ISO C++ forbids using pointer of type `void *' in
pointer arithmetic
make[1]: *** [textfield.o] Error 1
g++ -g -Wall -DBOGUSRANDOM -I/scr/microwin/include -c util.cpp
util.cpp:3: ISO C++ forbids declaration of `STATIC_FUNCTIONS' with no
type
util.cpp: In function `void NSInitialize ()':
util.cpp:31: `XOpenDisplay' undeclared (first use this function)
util.cpp:31: (Each undeclared identifier is reported only once for each
function it appears in.)
make[1]: *** [util.o] Error 1
make[1]: Target `lib' not remade because of errors.
make[1]: Leaving directory `/opt/projects/microwin/xfreecell/widget'
make: *** [lib] Error 2
make: Target `all' not remade because of errors.
Regards,
Nikolaj
K. Nikolaj Berntsen Technical Consultant
--------------------------------------------------------------
AGENCY.COM Interactive TV
Islands Brygge 57, DK-2300 Copenhagen S
T: +45 3693 6000 F: +45 3693 6001
Direct: +45 3693 6120
E: ####@####.#### www.agency.com