I am taking my first steps into the new API documented at https://wiki.mozilla.org/Embedding/NewApi. I am using Linux and GTK. libxulrunner-dev and all libs correctly installed. My GRE is registered properly. When I compile the example app from "hg clone http://hg.mozilla.org/incubator/embedding/ mozembed", I get an error I cannot resolve:
In file included from ../../common/embed.cpp:60: /usr/include/xulrunner-1.9.2.13/nsNetUtil.h: In function ‘nsresult NS_MakeRandomInvalidURLString(nsCString_external&)’: /usr/include/xulrunner-1.9.2.13/nsNetUtil.h:1690: error: ‘struct nsID’ has no member named ‘ToProvidedString’ I only know it has something to do with whether XPCOM_GLUE_AVOID_NSPR is defined. If it is defined, the above function's definition is removed by the preprocessor in nsID.h However, if it is not defined than XPCOM_GLUE_USE_NSPR must be defined and then I have to link against nspr???? - guessing Is this a bug in xulrunner? Thanks in advance! _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding