Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Firefox / Mozilla / June 2005



Tip: Looking for answers? Try searching our database.

Can't build Cocoa embedding demo; please help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
edburns - 25 Jun 2005 22:17 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.