Using XPCOM in C++ on ubuntu

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using XPCOM in C++ on ubuntu

harshad.wadkar
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
_______________________________________________
dev-tech-xpcom mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
Loading...