Development :  K-Meleon Forum
K-Meleon development related discussions. 
URGENT Queries about Building K-Meleon
Posted by: astegic
Date: November 24, 2008 07:03PM

Hi ALL,



I am getting problems while trying to build K-Meleon. “I succeed to build K-Meleon but getting problems while building supported library.”



1. Link provided by K-Meleon team specifying build instructions is:

http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution.

But in the above page link provided to download seamonkey 1.0.4 is not valid.



2. So I downloaded seamonkey 1.0.4 from another location i.e.

http://www.seamonkey-project.org/releases/1.0.4.

But if I try to build Seamonkey from provided location then I am getting following build error.



i.e Seamonkey-1.0.4.source\mozilla\xpcom\base\nsMemoryImpl.cpp(243): error C2027: use of undefined type ‘nsIThread’

PLEASE ANY HELP IN THIS REGARD WILL BE HELPFUL

SAHIL

Options: ReplyQuote
Re: URGENT Queries about Building K-Meleon
Posted by: desga2
Date: November 24, 2008 08:01PM

Developer Docs

Documentation in Build K-Meleon Distribution is old.
I think that you can use last Seamonkey 1.1.13 release source version.

Read Build K-Meleon page.

Download last Build Environment (based in 1.5.0)

Or download last 1.5.2 (beta) from CVS.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 11/24/2008 08:02PM by desga2.

Options: ReplyQuote
Re: URGENT Queries about Building K-Meleon
Posted by: astegic
Date: November 24, 2008 08:12PM

Thanks a lot i will try this and let you know the results.

Options: ReplyQuote
Re: URGENT Queries about Building K-Meleon
Posted by: astegic
Date: November 25, 2008 07:34PM

Hi ,



Please forward my queries to K-Meleon team.



I have downloaded seamonkey 1.1.13 and build it properly but now also I am getting problems while trying to compile, build and run K-Meleon…

I am sending detailed steps that I am following.



1. I got following error while compiling project sessions of K-Meleon.



d:\P4\kuldeep_localhost_1666\K-MeleonBE1.5_vc2003\src\sessions\sessions.cpp(135) : error C2664: 'AppendMenuW' : cannot convert parameter 4 from 'char *' to 'LPCWSTR'

Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast



2. To overcome this error I have changed function call

AppendMenu(sessionsMenu, MF_STRING, last_session_id, sessions_list);

To

AppendMenu(sessionsMenu, MF_STRING, last_session_id, (LPCWSTR)sessions_list);

to typecast it.



3. After changes I compiled K-Meleon successfully.

4. Then I copied all files from seamonkey dist folder to the location of my executable because it asks for some file nspr4.dll.

5. I also copied K-Meleon.exe.menifest from my installed k-meleon folder to the location of executable.

6. Now when I am trying to build K-Meleon I got following error message.

---------------------------

Toolbar Control Plugin

---------------------------

K-Meleon was not able to find your toolbar settings. Your selected skin may be missing or corrupt. Please, check your skin settings in the GUI appearance section of k-meleon preferences.

---------------------------

OK





7. After that I am getting many assertions faults and errors while running even accessing a web page in browser. As above.

a. ---------------------------

Microsoft Visual C++ Debug Library

---------------------------

Debug Assertion Failed!



Program: ...uldeep_localhost_1666\K-MeleonBE1.5_vc2003\debug\k-meleon.exe

File: dbgheap.c

Line: 1132



Expression: _CrtIsValidHeapPointer(pUserData)



For information on how your program can cause an assertion

failure, see the Visual C++ documentation on asserts.



(Press Retry to debug the application)

---------------------------

Abort Retry Ignore

---------------------------



b. --------------------------

Microsoft Visual C++ Runtime Library

---------------------------

Buffer overrun detected!



Program: ...t_1666\K-MeleonBE1.5_vc2003\debug\k-meleon.exe



A buffer overrun has been detected which has corrupted the program's

internal state. The program cannot safely continue execution and must

now be terminated.



---------------------------

OK



Please help me what is wrong I am doing or which are the files i need to copy from Seamonkey build and which are the files we need to copy from K-Meleon release.

Sahil



Edited 1 time(s). Last edit at 11/25/2008 07:34PM by astegic.


Options: ReplyQuote


K-Meleon forum is powered by Phorum.