Just one
question.
Today i've
try to install swarm on Lubuntu 14.04 (x64, I ant to use as
much as possible of the ram of this computer and Lubuntu
utilizes the less resoureces). I've used the .gdb files un the
Swarm 13.10 because they are the x64 version. The .gdb files
installed smoothly, but when I've try to compile Mausetrap or
any other from the swarmapps-2.3.0/objc
address@hidden:~/SWARM/swarmapps-2.3.0/objc/mousetrap$
make
gcc -c -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall
-Wno-import -Wno-protocol -Wno-long-long -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -DAPPNAME=mousetrap -DAPPVERSION=2.1
address@hidden -I/usr/include/swarm
main.m
In file included from /usr/include/swarm/objectbase.h:34:0,
from
/usr/include/swarm/objectbase/Swarm.h:20,
from MousetrapModelSwarm.h:13,
from MousetrapObserverSwarm.h:11,
from main.m:6:
/usr/include/swarm/defobj.h:1171:1: error: unknown type name
‘retval_t’
- (retval_t)getRetVal: (retval_t)retVal buf: (types_t *)buf;
^
/usr/include/swarm/defobj.h:1171:1: error: unknown type name
‘retval_t’
In file included from /usr/include/swarm/objectbase.h:34:0,
from
/usr/include/swarm/objectbase/Swarm.h:20,
from MousetrapModelSwarm.h:13,
from MousetrapObserverSwarm.h:11,
from main.m:6:
/usr/include/swarm/defobj.h:1469:1: error: unknown type name
‘FILE’
externvar FILE *_obj_xerror;
^
/usr/include/swarm/defobj.h:1471:1: error: unknown type name
‘FILE’
externvar FILE *_obj_xdebug;
^
In file included from /usr/include/swarm/activity.h:40:0,
from /usr/include/swarm/objectbase.h:35,
from
/usr/include/swarm/objectbase/Swarm.h:20,
from MousetrapModelSwarm.h:13,
from MousetrapObserverSwarm.h:11,
from main.m:6:
/usr/include/swarm/collections.h:981:1: error: unknown type
name ‘FILE’
+ create: (id <Zone>)aZone setFileStream: (FILE
*)fileStream;
^
/usr/include/swarm/collections.h:982:1: error: unknown type
name ‘FILE’
- setFileStream: (FILE *)fileStream;
^
/usr/include/swarm/collections.h:985:1: error: unknown type
name ‘FILE’
- (FILE *)getFileStream;
^
/usr/include/swarm/collections.h:1054:1: error: unknown type
name ‘FILE’
+ create: (id <Zone>)aZone setFileStream: (FILE *)file;
^
/usr/include/swarm/collections.h:1057:1: error: unknown type
name ‘FILE’
- setFileStream: (FILE *)fileStream;
^
/usr/include/swarm/collections.h:1059:1: error: unknown type
name ‘FILE’
- (FILE *)getFileStream;
^
In file included from
/usr/include/swarm/defobj/Customize.h:26:0,
from /usr/include/swarm/defobj/Create.h:26,
from
/usr/include/swarm/activity/XActivity.h:26,
from
/usr/include/swarm/activity/SwarmProcess.h:26,
from
/usr/include/swarm/objectbase/Swarm.h:21,
from MousetrapModelSwarm.h:13,
from MousetrapObserverSwarm.h:11,
from main.m:6:
/usr/include/swarm/defobj/DefClass.h:27:26: fatal error:
objc/objc-api.h: No such file or directory
#import <objc/objc-api.h>
^
compilation terminated.
make: *** [main.o] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Camacho Trujillo, Ph.D.