Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=Ken] I am trying to build K-Meleon with Gecko 1.9.1 using VS2005 (MSVC8) SP1 on Windows 7 Pro. I followed the instructions in <http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution>. I was able to build GRE 1.9.1 using the source downloaded from: hg clone http://hg.mozilla.org/releases/mozilla-1.9.1/ patched with K-Meleon specific GRE 1.9.1x source files: GRE1.9.1build.7z. I proceeded by downloading the latest source for K-Meleon using the specified instructions: cvs -d:pserver:anonymous@kmeleon.cvs.sourceforge.net:/cvsroot/kmeleon login cvs -z3 -d:pserver:anonymous@kmeleon.cvs.sourceforge.net:/cvsroot/kmeleon checkout . cvs -d:pserver:anonymous@kmeleon.cvs.sourceforge.net:/cvsroot/kmeleon logout I converted the KMeleon.sln VS Solution from VS2003 format to VS2005. Errors Building the "Release Unicode" Configuration --------------------------------------------------- I added GECKO_VERSION=19 in the C++ Preprocessor Directives of the k-meleon project for this build configuration. I also had to add a couple of additional directories into the list of Include paths to resolve compile errors: - ..\mozilla\mozilla\dist\include\profdirserviceprovider - ..\mozilla\mozilla\dist\include\suitetypeaheadfind Plus, I copied the embed_base_s.lib file from ..\mozilla\mozilla\dist\sdk\lib path into the ..\mozilla\mozilla\dist\lib path to resolve the linker error. After doing all above, I still have the following errors: 1>warning C4727: PCH named c:\ccs\webklient\k-meleon\release unicode\k-meleon.pch with same timestamp found in c:\ccs\webklient\k-meleon\Release\StdAfx.obj and c:\ccs\webklient\k-meleon\Release\PrintSetupDialog.obj. Using first PCH. 1>StdAfx.obj : error LNK2005: ___@@_PchSym_@00@UxxhUdvyporvmgUpRnvovlmUivovzhvUhgwzucOlyq@ already defined in PrintSetupDialog.obj 1>BrowserImpl.obj : error LNK2001: unresolved external symbol "public: int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const " (?Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z) 1>BrowserImpl.obj : error LNK2001: unresolved external symbol "public: static int __cdecl nsAString::DefaultComparator(wchar_t const *,wchar_t const *,unsigned int)" (?DefaultComparator@nsAString@@SAHPB_W0I@Z) 1>BrowserImpl.obj : error LNK2001: unresolved external symbol "public: wchar_t const * __thiscall nsAString::BeginReading(void)const " (?BeginReading@nsAString@@QBEPB_WXZ) 1>ProfileMgr.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl NS_NewProfileDirServiceProvider(int,class nsProfileDirServiceProvider * *)" (?NS_NewProfileDirServiceProvider@@YAIHPAPAVnsProfileDirServiceProvider@@@Z) 1>Components.obj : error LNK2001: unresolved external symbol "public: __thiscall ContentDispatchChooser::ContentDispatchChooser(void)" (??0ContentDispatchChooser@@QAE@XZ) 1>..\release\k-meleon.exe : fatal error LNK1120: 5 unresolved externals 1>Creating browse information file... 1>Microsoft Browse Information Maintenance Utility Version 8.00.50727 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\ccs\webklient\k-meleon\Release Unicode\BuildLog.htm" 1>k-meleon - 7 error(s), 296 warning(s) Errors Building the "Release" Configuration --------------------------------------------------- I followed the same steps as in "Release Unicode" section above (added GECKO_VERSION=19 to the project setting and a couple of include directories). The remaining errors are different from the "Release Unicode" build. They are: 1>.\Plugins.cpp(1514) : error C2065: '_lpa' : undeclared identifier 1>.\Plugins.cpp(1514) : error C2065: '_convert' : undeclared identifier 1>.\Plugins.cpp(1514) : error C2065: '_acp' : undeclared identifier : : : : 1>.\BrowserFrm.cpp(250) : error C2065: 'WM_XBUTTONUP' : undeclared identifier 1>.\BrowserFrm.cpp(251) : error C2065: 'XBUTTON1' : undeclared identifier 1>.\BrowserFrm.cpp(253) : error C2065: 'XBUTTON2' : undeclared identifier : : : : 1>Build log was saved at "file://c:\ccs\webklient\k-meleon\Release\BuildLog.htm" 1>k-meleon - 6 error(s), 68 warning(s) Any help to resolve these errors are greatly appreciated. I also would like to be able to build the Debug version of GRE 1.9.1 that can be used to build the Debug version of K-Meleon. Is there a .mozconfig file somewhere to generate KMeleon-specific Debug version of GRE 1.9.1? If not, would someone post it?[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development