Hi,

I downloaded the Gecko-sdk here.

https://developer.mozilla.org/en-US/docs/Creating_XPCOM_Components/Setting_up_the_Gecko_SDK

I hope this is okay for me to test my xpcom since it is another sdk named 
XULRunner.

I dont find any xpidl executable file in XULRunner sdk but I found it in this 
sdk. However, it is obvious some differences between these two.

However, going through the tutorial(How to build an XPCOM component in 
Javascript) provided by Mozilla, when I tried to compile the Typelib, the error 
occurred as the following:

~/Mozilla_x86/gecko-sdk/bin$ sudo ./xpidl -m typelib -w -v -I ../idl -e 
HelloWorld.xpt HelloWorld.idl

./xpidl: error while loading shared libraries: libIDL-2.so.0: cannot open 
shared object file: No such file or directory

I tried to figure out the problem but this still confuses me.

Two questions here:

1. How can I fix the problem addressed above?

2. Can I use Gecko-sdk instead of XULRunner-sdk if I just want to take 
advantage of xpidl?


thanks in advance.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to