Results 1 to 10 of 12

Thread: Simple Chipmunk Physics

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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
    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
    Any idea?
    Best regards,
    Cybermonkey

  2. #2
    using the latest headers by Andru
    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).

  3. #3
    Oh, sorry, it was my fault. It works now. Thank you.

    Best regards,
    Cybermonkey

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •