Sorry for cross-posting to n.p.m.mac. Wasn't sure which one was more
appropriate.
I'm the maintainer of webclient, a project to embed mozilla into Java.
I'm trying to get it working on the Mac again. The last time it worked
on Mac was 1999 or so.
I have a few questions, but I think the easiest thing would be to be
able to run the embedding sample on the mac. I'm running Tiger and
Mozilla 1.7.5.
I'm using XCode 2.1 to open the .lproj file. When I try to "build" it,
I get 15 errors.
src/CHDownloadFactories.mm:90: error: cannot allocate an object of type
`nsDownloadListener'
src/CHDownloadFactories.mm:90: error: because the following virtual
functions are abstract:
../../../dist/include/uriloader/nsIDownload.h:65: error: virtual
nsresult nsITransfer::Init(nsIURI*, nsIURI*, const PRUnichar*,
nsIMIMEInfo*, long long int, nsIWebBrowserPersist*)
../../../dist/include/uriloader/nsIDownload.h:71: error: virtual
nsresult nsITransfer::GetSource(nsIURI**)
../../../dist/include/uriloader/nsIDownload.h:77: error: virtual
nsresult nsITransfer::GetTarget(nsIURI**)
../../../dist/include/uriloader/nsIDownload.h:87: error: virtual
nsresult nsITransfer::GetPersist(nsIWebBrowserPersist**)
../../../dist/include/uriloader/nsIDownload.h:93: error: virtual
nsresult nsITransfer::GetPercentComplete(PRInt32*)
../../../dist/include/uriloader/nsIDownload.h:99: error: virtual
nsresult nsITransfer::GetDisplayName(PRUnichar**)
../../../dist/include/uriloader/nsIDownload.h:100: error: virtual
nsresult nsITransfer::SetDisplayName(const PRUnichar*)
../../../dist/include/uriloader/nsIDownload.h:106: error: virtual
nsresult nsITransfer::GetStartTime(PRInt64*)
../../../dist/include/uriloader/nsIDownload.h:114: error: virtual
nsresult nsITransfer::GetMIMEInfo(nsIMIMEInfo**)
../../../dist/include/uriloader/nsIDownload.h:121: error: virtual
nsresult nsITransfer::GetListener(nsIWebProgressListener**)
../../../dist/include/uriloader/nsIDownload.h:122: error: virtual
nsresult nsITransfer::SetListener(nsIWebProgressListener*)
../../../dist/include/uriloader/nsIDownload.h:129: error: virtual
nsresult nsITransfer::GetObserver(nsIObserver**)
../../../dist/include/uriloader/nsIDownload.h:130: error: virtual
nsresult nsITransfer::SetObserver(nsIObserver*)
If you could let me know how to build it at least, I may be able to
help
myself. Otherwise, I'll have to keep pesting you and your colleagues!
Thanks,
Ed
Mark Mentovai - 26 Jun 2005 01:06 GMT
> Sorry for cross-posting to n.p.m.mac. Wasn't sure which one was more
> appropriate.
[quoted text clipped - 9 lines]
> I'm using XCode 2.1 to open the .lproj file. When I try to "build" it,
> I get 15 errors.
[...]
> If you could let me know how to build it at least, I may be able to
> help
> myself. Otherwise, I'll have to keep pesting you and your colleagues!
embedding/browser/cocoa is dying of neglect and surely won't build on
its own at the moment without help. Active development on Cocoa
embedding is in camino.
Mark