I have written a pretty complex external (cellular automata simulator) for Max on my PC, and would like to also get it to run on the Mac.
I'm having a bit of trouble doing this, though. I've gotten the external to compile, and Max properly recognizes it. Its "main" method runs, as does its "create", at the proper time. When I actually start sending it data, though, it crashes.
I'm doing the actual porting on someone else's computer that they use for regular computer-stuff, so my time on it is limited.
Signs are pointing toward some problem with memory management or the inclusion of improper libraries. Are there any recommendations seasoned mac or cross-platform developers could give?
I'm running CodeWarrior 9 on both machines, and have tried to maintain a single project for simplicity's sake. However, this means I can't use the templates, which is the only way the SDK offers to set up the project. This Wednesday, when I have access to the computer again, I'm going to bite the bullet and start with a template. It's a bit upsetting, though, that there are no directions for starting a project from scratch other than "use our templates."
It's a fairly new install on the mac, so there are no developer tools as of yet (i.e. no debugger), though previous trials usually traced the crash to STL code, hence my thought that it's a memory management issue.
Any advice is appreciated.
Windows XP, Athlon64, Codewarrior 9
OSX Panther, PowerBook (I think) pre-Intel, Codewarrior 9