tag:blogger.com,1999:blog-2403477577476951601.post8599021290268181433..comments2024-03-24T17:52:29.632-07:00Comments on PlayTechs: Programming for fun: Physics library updatesJames McNeillhttp://www.blogger.com/profile/08901649215141005959noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2403477577476951601.post-87464291547640982022010-07-23T12:24:53.776-07:002010-07-23T12:24:53.776-07:00I just tried the CMake -> Xcode generator. It a...I just tried the CMake -> Xcode generator. It actually seems to work just fine (I was highly skeptical). It seems to get all the settings right and there were no weird issues with the project it generated.<br /><br />The project structure was pretty unnavigable, but I don't really think that is the point of auto-generating a project. ;)Unknownhttps://www.blogger.com/profile/02600972358402137201noreply@blogger.comtag:blogger.com,1999:blog-2403477577476951601.post-39070874066019538532010-07-23T11:36:51.419-07:002010-07-23T11:36:51.419-07:00Oh? That sounds a bit annoying. I guess XCode isn&...Oh? That sounds a bit annoying. I guess XCode isn't necessarily better, though it does seem to do a decent job of providing backward compatibility. Not that I'm trying to imply that XCode is an acceptable tool for doing just about anything. :p<br /><br />I've had to update the CMake files on occasion, but I didn't actually originally create them. They seem pretty easy to work with though. A Linux user contributed them hoping that everybody would use them for all platforms. I'll admit that I've never bothered to try generating an XCode project with it, but only used it to build Chipmunk under Linux.Unknownhttps://www.blogger.com/profile/02600972358402137201noreply@blogger.comtag:blogger.com,1999:blog-2403477577476951601.post-27408588562359804772010-07-21T08:27:14.942-07:002010-07-21T08:27:14.942-07:00Hi Scott,
Thanks for the reply. I think I could g...Hi Scott,<br /><br />Thanks for the reply. I think I could get an SVN diff put together. I got really close to getting Chipmunk building with VC10; I was down to link errors, which were stumping me. dumpbin didn't seem to be working on the .obj files so I wasn't sure what symbol names were actually getting exported. I think I may drop back to VC9 since that's what I have been using, and just knock out the FFI macros in that build.<br /><br />I should probably learn CMake; Box2D uses it to generate the project files and I see you have CMake files as well. The .vcproj files are annoying to maintain since they tend to change radically from version to version of MSVC (VC10's are in an entirely new syntax from VC9, for instance).<br /><br />I'll give it some more effort; it'd be great to have it working under both VC9 and VC10.James McNeillhttps://www.blogger.com/profile/08901649215141005959noreply@blogger.comtag:blogger.com,1999:blog-2403477577476951601.post-12130628573771790792010-07-21T06:38:25.287-07:002010-07-21T06:38:25.287-07:00Well, Chipmunk is mostly supposed to compile as C+...Well, Chipmunk is mostly supposed to compile as C++ code under MSVC. I say "mostly" because I'm only going on feedback from MSVC users occasionally about what needs to change. I know there are only a few issues at the moment, but I don't have MSVC to try or fix it with. http://www.slembcke.net/forums/viewtopic.php?f=1&t=1084<br /><br />The frustrating part is that most of the people that try to help I only ever hear from once. They upload a modified source archive and it's often very difficult to get further information out of them when the diff tool explodes on their changes. What I really need is somebody who would be willing to send me an svn diff from trunk of their changes. (or somebody that I can give svn commit access to)<br /><br />I know a number of people would appreciate an up to date C++ binding as well. The Obj-C binding is under 1.5kloc of highly templated code, a lot of which is memory management related. A large part of writting Chipmunk in C was to make it easier to bind and use from other languages.<br /><br />I'd completely understand if you were more interested in finishing a game than dinking around with engines though. ;)Unknownhttps://www.blogger.com/profile/02600972358402137201noreply@blogger.com