jmv wrote:
Hello,
I'm trying to revive wxMozilla project, fixed most bugs that prevented
compiling, but on linking stage I get messages that linker cannot find
'NS_InitEmbedding', 'NS_TermEmbedding' symbols.

You don't say what branch you're trying to build from, which is an essential bit of information.

Firefox is compiled from source with default flags
(--enable-application=browser).

XULRunner is the standard embedding framework that should be used from the 1.8 cycle forwards.

Do I need to recompile the browser with other flags to enable
embedding? Or are NS_InitEmbedding, etc. calls are deprecated?

NS_InitEmbedding is indeed an obsolete API; it has been replaced by the much more flexible and dynamically linked XRE_InitEmbedding API. That said, it is still available in a static library for old code which hasn't upgraded yet.

--BDS
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to