Andrew Gough wrote: > I have been attempting on and off for (many) weeks to build & integrate > the gecko/xul rendering engine into an app I am writing. I have been > through all the doc I can find on mozilla.org, looked at all the > embedding examples in 'mozilla/embedding/tests/', googled til I nearly > dropped, and am, quite frankly, stumped as to how to proceed. > > I'm hoping someone can help > > - Building on Linux 2.6.18-gentoo-r6 > - Mozilla src checked out of CVS HEAD Apr 14 > - Built using .mozconfig with ". $topsrcdir/browser/config/mozconfig" && > "ac_add_options --enable-debug" only > - Created embedding dist with "cd obj../embedding/config && make"
This is not a recommended embedding configuration. Please build XULRunner and use that for all new embedding. You do not need/should not use embedding/config > One issue was no 'nsIBaseWindow.idl' or 'nsIDocShellTreeItem.idl' in > 'sdk/idl', so I added it manually, ran xpidl on it and got header files. Indeed, the sdk/ directory contains only frozen interfaces that are guaranteed not to break, and those interfaces are not frozen. > App links, loads, and succeeds to initialise, but I get the follwoing > errors on stderr: > > Couldn't convert chrome URL: > ---- > chrome://global/locale/layout/xmlparser.properties > -1233578320[826d070]: WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: > file /home/goughy/devel/mozilla/parser/htmlparser/src/nsExpatDriver.cpp, > line 812 This may go away automatically when you embed against XULRunner. If not, I can give you some more suggestions (you may need to tell XPCOM where to look for chrome when you initialize it). --BDS _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
