[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: |
Anant Padmanath Mudambi |
Subject: |
Re: [certi-devel] Can't get the billiard test to run |
Date: |
Sat, 9 Apr 2005 19:53:42 -0400 (EDT) |
It works now. Thanks!
On Sat, 9 Apr 2005, [ISO-8859-1] Benoît Bréholée wrote:
> 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
>
>
> _______________________________________________
> certi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/certi-devel
>