[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [certi-devel] Can't get the billiard test to run
From: |
Benoît Bréholée |
Subject: |
Re: [certi-devel] Can't get the billiard test to run |
Date: |
Sat, 09 Apr 2005 11:07:08 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20050116) |
Anant Padmanath Mudambi a écrit :
I have been trying to get the billard test to run on a Linux machine here.
It is a 64-bit machine. I've been able to track down the problem I have
been having to the constructor for MessageBody. In the constructor there
is a check for sizeof(unsigned long) == 4, which is not true on the
machine I want to run certi on. Is there a quick fix to this?
Not a good solution but a minimal fix:
- MessageBody.cc: remove the checks in both constructors
- MessageBody.hh: lines 55 and 59: replace "2" by "sizeof(short)"
- MessageBody.hh: lines 63 and 67: replace "4" by "sizeof(long)"
Of course with this fix, RTI and federates should run on the same kind
of machine. (That's not the solution I'll upload eventually).
I don't remember of other places where sizeof(long)==4 is asserted, but
I've not worked on all parts of CERTI, and particularly not on low-level
ones.
--
Benoît Bréholée
http://breholee.org