On 6/18/06, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:

Sandesh Sethia wrote:
> Hello everyone,
>        I just wanted to know if it is a requirement to use xulrunner
even
> if all you want to do is use XPCOM (gecko) for its components. Because
for

I'm not sure what your question is. XULRunner is the thing which provides
the gecko XPCOM components; how else would you get them?



I am sorry I did not mention the background of what I wished to do. I
basically
want my C++ program to accept URL from the user at the command prompt
and load the browser with the page displayed in it to the user. So, for this

application I would only need to link to the XPCOM components by including
the
header files and linking to the libraries ...... right ? or would I still
require to use
the XULrunner to display the browser ? cant i not directly use XPCOM
standalone
components to load a browser ?


the past 1 week I am getting this error of "undefined reference" to XPCOM
> entities. Its obviously a linking error.....
>       while compiling, I provide the following arguments :
>
>     -L/home/ssethia/gecko-sdk/lib -lxpcomglue -lnspr4 -lplds4
> -lembed_base_s

You're linking -lxpcomglue, which implies the standalone linkage strategy,
but then you're linking with NSPR. This doesn't make sense. Also, using
embed_base_s probably won't work with standalone linkage.

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

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

Reply via email to