On Sunday, 3 November 2013 at 15:16:09 UTC, Andrej Mitrovic wrote:
On 11/3/13, simendsjo <simend...@gmail.com> wrote:
Nothing I have the need for, but very cool nontheless. It would
be interesting if you wrote about your experience on porting a
codebase this size.
Nothing much new compared to the last time I ported C, which I
wrote about here:
Of course I know much more now than I did back then. Maybe you
like a blog post? I'll add it to my todo list. :)
Here's a little bug report. Don't know if it's my bad.
I'm running Ubuntu 12.04 (64-bit), compiler - DMD v2.063.2, DUB
I cloned the git repo (sha1 96a870e) and ran dub.
First-off, it complained about several 'cannot cast ulong to
int'. I've fixed that with explicit casts.
Second, it complained about undefined reference to dlopen and
friends. I've fixed that by adding
And finally, I've got
object.Exception@src/rt/minfo.d(243): Aborting: Cycle detected
between modules with ctors/dtors:
dchip.cpPolyShape -> dchip.chipmunk_private -> dchip.cpArbiter ->
dchip.cpSpace -> dchip.cpSpaceStep -> dchip.cpCollision ->
Which I don't know how to fix. Hope it'll be useful.