Wei Luo wrote: > Hi, > I'm a beginner to XPCOM, I tried to use the sample program > "TestCom.cpp" in the directory of xpcom\tests\windows, I tried to > compile it, I used "nmake -f makefile.win" to do that, but I got the > compile error: fatal error C1083: Cannot open include file: > 'nsISupports.h': No such file or directory. I searched the > 'nsISupports.h' in the mozilla directory and all of other directories, > but I didn't find it, I checked the documents online, it seems to be > automatically generated by LXR. But I still don't know what LXR is and > how to generate 'nsISupports.h', anybody could help me? > Thank tou very much > > Wei Luo
You need to build more than xpcom. see: http://www.mozilla.org/projects/embedding/bootstrap.html
