Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using XPCOM in C++ on ubuntu

30 views
Skip to first unread message

harshad...@gmail.com

unread,
Jul 27, 2015, 12:47:23 PM7/27/15
to
Hello,

I am trying to write a C++ xpcom.

Referred the following urls :

http://www.iosart.com/firefox/xpcom/
http://kailaspatil.blogspot.in/2010/11/creating-c-component-interface-of.html

The gecko I am using is
xulrunner-39.0.en-US.linux-i686.sdk.tar.bz2
Downloaded gecko-sdk : http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/sdk/

I am getting an error

a@abc:~/xpcom/xulrunner-sdk/sdk/bin$ ./xpidl.py -m header -I/home/a/xpcom/xpcom-sample/src/ IMyComponent.idl
Parsing -m
Traceback (most recent call last):
File "./xpidl.py", line 1427, in <module>
p.parse(open(f).read(), filename=f)
IOError: [Errno 2] No such file or directory: '-m'

Actually, using the reference (iosart.com), tried to find xpidl executable in the gecko-sdk/sdk/bin folder but it is not there, so used xpidl.py.

Need help, guidance to resolve the issue.

Thanks & Regards

Harshad
0 new messages