try definining MOZILLA_STRICT_API. It's a guess, but I know that for
the 1.7.x branch this was a necessity.
J
On May 26, 2006, at 5:08 AM, Scott Lanning wrote:
I tried to write a Gecko Embedding for Dummies last night,
but I'm too dumb. I was hoping I could just use the Gecko SDK,
so I downloaded it (the GNU/Linux version) from
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/
mozilla1.7.13/gecko-sdk-i686-pc-linux-gnu-1.7.13.tar.gz
But when I tried to compile a trivial file with
#include "nsEmbedAPI.h"
at the top, it failed because one of its #include files can't find
"nsDirectoryServiceUtils.h" (which is in xpcom/io/
nsDirectoryServiceUtils.h
of the Mozilla source but not in the 'include' directory of the
Gecko SDK;
my compile line had "-I gecko-sdk/include" as the only include
directory).
I concluded that I need to build the entire source tree myself.
Is that correct?
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding