Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
building k-meleon
Posted by: ciki57
Date: January 21, 2002 08:50AM

I downloaded mozilla 0.97 and compiled it, but if I try to compile k-meleon I get the following output:

ompiling resources...
Compiling...
StdAfx.cpp
Compiling...
About.cpp
Utils.cpp
winEmbedFileLocProvider.cpp
Generating Code...
Compiling...
AccelParser.cpp
BrowserFrameGlue.cpp
BrowserFrm.cpp
BrowserImpl.cpp
BrowserImplCtxMenuLstnr.cpp
BrowserImplWebPrgrsLstnr.cpp
BrowserView.cpp
C:\temp\moz097\k-meleon\BrowserView.cpp(273) : error C2039: 'GetPrintSettings' : is not a member of 'nsDerivedSafe<class nsIWebBrowserPrint>'
C:\temp\moz097\k-meleon\BrowserView.cpp(971) : error C2039: 'SetPaperSizeType' : is not a member of 'nsDerivedSafe<class nsIPrintSettings>'
C:\temp\moz097\k-meleon\BrowserView.cpp(972) : error C2039: 'SetPaperWidth' : is not a member of 'nsDerivedSafe<class nsIPrintSettings>'
C:\temp\moz097\k-meleon\BrowserView.cpp(973) : error C2039: 'SetPaperHeight' : is not a member of 'nsDerivedSafe<class nsIPrintSettings>'
BrowserViewFind.cpp
BrowserViewPanning.cpp
BrowserViewUtils.cpp
CmdLine.cpp
Dialogs.cpp
HiddenWnd.cpp
MenuParser.cpp
MfcEmbed.cpp
MostRecentUrls.cpp
Parser.cpp
Plugins.cpp
Preferences.cpp
PreferencesDlg.cpp
Generating Code...
Compiling...
PrintProgressDialog.cpp
C:\temp\moz097\k-meleon\PrintProgressDialog.cpp(201) : error C2664: 'Print' : cannot convert parameter 3 from 'class nsIWebProgressListener *' to 'class nsIPrintListener *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
PrintSetupDialog.cpp
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(23) : error C2039: 'kPaperSizeInches' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(23) : error C2065: 'kPaperSizeInches' : undeclared identifier
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(24) : error C2039: 'kPaperSizeInches' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(25) : error C2039: 'kPaperSizeMillimeters' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(25) : error C2065: 'kPaperSizeMillimeters' : undeclared identifier
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(26) : error C2039: 'kPaperSizeInches' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(196) : error C2039: 'kPaperSizeInches' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(196) : error C2039: 'kPaperSizeMillimeters' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(228) : error C2039: 'GetPaperSizeType' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(229) : error C2039: 'GetPaperWidth' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(230) : error C2039: 'GetPaperHeight' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
C:\temp\moz097\k-meleon\PrintSetupDialog.cpp(247) : error C2039: 'kPaperSizeInches' : is not a member of 'nsIPrintSettings'
c:\temp\moz097\mozilla\dist\include\gfx\nsiprintsettings.h(30) : see declaration of 'nsIPrintSettings'
ProfileMgr.cpp
ProfilesDlg.cpp
PromptService.cpp
ReBarEx.cpp
ToolBarEx.cpp
Tooltips.cpp
UnknownContentTypeHandler.cpp
Generating Code...
Error executing cl.exe.

k-meleon.exe - 17 error(s), 0 warning(s)

Options: ReplyQuote
Re: building k-meleon
Posted by: Jeff
Date: January 21, 2002 09:32AM

You need to use the tip of the mozilla tree. Actually, to get it to compile, you need to use the tree as of 2 weeks ago...the mozilla API has changed a bit, and the code in the CVS needs a bit of pruning to compile.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.