I have Chimera (CHIMERA_M1_0_1_BRANCH) successfully building and the NSBrowserView and CocoaEmbed projects also successfully building. Simultaneously, I'm trying to get XPConnect hooked up. Eventually, I want it to all work together in an embedded browser which interprets XPConnect-JavaScript to execute my C++ code on the client machine.
First, a side note: Neither http://www.mozilla.org/ports/fizzilla/Cocoazilla.html nor http://www.mozilla.org/ports/fizzilla/Mach.html specify the need for the CHIMERA branch when trying to build the embeddable stuff. Probably one of them should; even though it does seem a bit obvious in hind-sight, these things never seem obvious when you first confront them. On to the real question: I note http://www.mozilla.org/scriptable/ as well as the various resources that stem from there, including the allusions to the source/xpcom/sample in my build tree as well as source/js/src/xpconnect (which also happens to contain an example). CodeWarrior must be used to build the sample in source/xpcom/sample, so, I opened up the first .mcp file, SampleIDL.mcp, according to the readme. It told me, of course, that the xpt linker was not found. So I discovered mozilla/xpcom/typelib/xpidl/macplubin/ compiler.rsrc linker.rsrc panel.rsrc which seem to be the closest thing to the entities mentioned (but frustratingly not identified more specifically) in www.mozilla.org/build/mac-xpidl-plugin.html. I copied these into Metrowerks CodeWarrior/CodeWarrior Plugins/ Compilers Linkers Preference Panels as the instructions seemed to indicate. The only problem is that it didn't seem to do a single thing. I feel I'm at a bit of an impasse and would love some help. Thanks in advance. J. Michael Caine
