Partial Open Source Chipmunk Wrapper for PureBasic
Posted: Sun Nov 18, 2012 9:54 pm
I discussed my work a bit in Icesoft's thread, but I realized I'm probably not going to be up for completing this project anytime soon due to other commitments.
Consequently, I'm handing out what I do have done to the community, in case anyone would benefit from it or wants to finish it out.
I documented the steps I followed to produce a wrapper in two posts, one here and the other here.
An archive of the project as I left it can be found here.
This contains a copy of the Chipmunk tree, the .pb code I was working with, and some of the intermediate working documents that resulted; there's even a windows x86 library file you can drop in to your PB 5 final x86 userlibraries folder if you're feeling adventurous.
The .pbi is not complete; there are a bunch of necessary structures that aren't in place, so there's that to do. There could be other omissions as well.
In theory, repeating the steps from my posts with mingw-w64 should produce something usable with PB 5 x64 for windows, but I never got around to testing that. Also in theory, my groundwork should function on macOS and linux, but I didn't test that either.
The upstream Chipmunk source itself is obviously still governed by the license found in the Chipmunk-6.1.1-x86 tree (I named it that because I intended to have separate trees for each target); all of my code (in the .pb files) can be considered public domain, although if anyone did do anything more with this it'd be nice if I got a little credit. :)
I'll go ahead and apologize in advance to anyone who chooses to actually look at the code I wrote. I just don't have it in me to clean it up right now, and I'm probably not in a position to do much in the way of support; I'm sure there's problems, and all I can really promise is to wish good luck to anyone who embarks on this journey.
Consequently, I'm handing out what I do have done to the community, in case anyone would benefit from it or wants to finish it out.
I documented the steps I followed to produce a wrapper in two posts, one here and the other here.
An archive of the project as I left it can be found here.
This contains a copy of the Chipmunk tree, the .pb code I was working with, and some of the intermediate working documents that resulted; there's even a windows x86 library file you can drop in to your PB 5 final x86 userlibraries folder if you're feeling adventurous.
The .pbi is not complete; there are a bunch of necessary structures that aren't in place, so there's that to do. There could be other omissions as well.
In theory, repeating the steps from my posts with mingw-w64 should produce something usable with PB 5 x64 for windows, but I never got around to testing that. Also in theory, my groundwork should function on macOS and linux, but I didn't test that either.
The upstream Chipmunk source itself is obviously still governed by the license found in the Chipmunk-6.1.1-x86 tree (I named it that because I intended to have separate trees for each target); all of my code (in the .pb files) can be considered public domain, although if anyone did do anything more with this it'd be nice if I got a little credit. :)
I'll go ahead and apologize in advance to anyone who chooses to actually look at the code I wrote. I just don't have it in me to clean it up right now, and I'm probably not in a position to do much in the way of support; I'm sure there's problems, and all I can really promise is to wish good luck to anyone who embarks on this journey.