Last edited by Ingemar; 30-07-2011 at 01:13 PM.
Mmm? And what is libchipmunk.5.3.2.dylib in bin directory do you think? This library, and simple demo, you can find with ZenGL(demo11). Unfortunately I have no time to finish that chipmunk demos, about which I said before.A bit incomplete though, with libraries for Windows and Linux but not Mac. Also, a simple demo would be helpful.
Maybe so but I was referring to what I found at the chipmunk-pascal link.
Two days ago I took another look at the Chipmunk physics. Well, I made some progress, as you can see here (using my SDL based egslengine):
However, I have a problem on Windows 32bit with the static linking (FPC 2.6.0) using the latest headers by Andru. Issue is
Any idea?Code:Target OS: Win32 for i386 Compiling physictest.pas Linking physictest.exe physictest.pas(124,1) Error: Undefined symbol: _cpInitChipmunk physictest.pas(124,1) Error: Undefined symbol: _cpMomentForCircle physictest.pas(124,1) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted
Best regards,
Cybermonkey
Are you sure about latest? And if so - did you change path to object files? Structure of lib directory was changed, so in Lazarus you should specify something like this now - lib/$(TargetCPU)-$(TargetOS), or choose path for platform manually(in your case this is i386-win32).using the latest headers by Andru
Oh, sorry, it was my fault. It works now. Thank you.
Best regards,
Cybermonkey
Bookmarks