On Tuesday, 5 November 2013 at 15:43:29 UTC, Andrej Mitrovic
On 11/5/13, Sergei Nosov <sergei.no...@gmail.com> wrote:
Here's a little bug report. Don't know if it's my bad.
It's not your fault. And thanks for the report!
First-off, it complained about several 'cannot cast ulong to
int'. I've fixed that with explicit casts.
This is mostly the cause of the old C code which compiled
warnings. I've fixed this now.
Second, it complained about undefined reference to dlopen and
friends. I've fixed that by adding
I've added it as a Posix flag, however do note that I still
whether the demo will work on Posix since I don't know how to
glu library there. I'll have to investigate this in a virtual
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 ->
I was afraid this was going to happen. As it stands D's module
constructors are almost completely useless for real world code
this issue always pops up. Anyway I've replaced them with a
module constructor which calls initialization functions, so
Thanks again for all the reports! And if you have new ones
report them on the githup page, in the Issues section. Cheers.
It seems to work now! I've send you a little pull request fixing
glu loading on my Ubuntu setup.