Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Visual C++ Toolkit building
Posted by: Fast Sjonny
Date: September 28, 2004 09:50PM

Hi to everyone,

Microsoft made the Visual C++ 2003 Toolkit available for everyone who does not want to buy the expensive VC-package or does not need the graphical interface of VC.

But now the question,
I tried to make a build, using VC++TK as mentioned on the Moz-forums and several others but did not manage to do that.

I am curious if other people here managed to do that and what recommendations they have for building with VC++TK2003.

May be a little help as addition to the help under development on this website?
(Yes, I know that help is available, but for me it is not enough, without much knowledge of making builds...)

Greetings from a wet Holland,
Jan.

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: September 30, 2004 08:37PM

When did you ran into problems? While compiling Mozilla? K-Meleon? Or before both? ;-)

Which instructions did you follow? http://kmeleon.sourceforge.net/wiki/index.php?id=BuildTools needs some updating (IMHO & AFAIK), e.g. nmake is not used any more at mozilla.org since 1.2b I think (although it should still be possible to use it for compiling)...

Just tried building Mozilla with Microsoft's free Visual C++ 2003 Toolkit, but midl.exe is not included in the free tools. And without it, it doesn't seem to work (or does it??). So I think I have to either look for a hack (*g*) around that problem, pay "some" money or use something like MinGW... ;-/

Ideas are welcome, of cours! :-)

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: Fast Sjonny
Date: September 30, 2004 08:57PM

I ran into problems building Mozilla. The problem was that some characters were not supported (that was the errormessage). I followed several instructions but nothing worked.
No I have planned to try it a last time with the instructions at:
http://forums.mozillazine.org/viewtopic.php?t=69874&postdays=0&postorder=asc&postsperpage=15&start=60

But as you already said; ideas are welcome, ofcourse ;-)

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: September 30, 2004 09:12PM

I will look into that on the weekend.

But a working way to build with (free) Visual C++ 2003 would indeed be very welcome, yeah. :-)

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: guenter
Date: October 01, 2004 05:36AM

did You 2 already look there?
http://www.mozilla.org/build/win32.html
Dorian suggested it.
also possibly gemal.dk home page about building ff with free means like gcc.
best weekend - mine has started already

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: Fast Sjonny
Date: October 01, 2004 06:58AM

Yes I did, and about twenty other websites ;-)))
But after next week (because of exhibitions, workvisits etc...) I will try to make a platform again.

Jan

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: October 01, 2004 04:17PM

Okay, forget about midl.exe, the Platform SDK was needed (should've googled a bit more <g>). There are still some errors while compiling but I'm currently fixing one after another.

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: October 02, 2004 10:19AM

Mozilla compiling successfully last night. :-) Now I still need a way to compile and edit K-Meleon's files... ;-( http://kmeleonbrowser.org/forum/read.php?f=2&i=3311&t=3311

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: October 02, 2004 10:21AM

And I still hope that we'll get an edit or at least a preview feature on this forum (again) ...

compiling => compiled

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: Fast Sjonny
Date: October 02, 2004 10:45AM

Ra,

Can you tell me (may be even give me links) of the programs etc... you used to make it to a succes?? It would be a great help!

Jan

Options: ReplyQuote
Re: Visual C++ Toolkit building
Posted by: ra
Date: October 02, 2004 12:15PM

It was mainly reading several different tutorials, setting up the things described there (you need Platform SDK, C++ Toolkit & .net 1.1 + SP, .net SDK, cygwin, ...) and then setting up my own build environment (kinda customized) based on others, that were described somewhere (I'm using a batch file, didn't want to change my default Windows settings). The last step took a good part of the time and required some trial and error.

If you need a good step-by-step guide look for Waldos' posting here: http://forums.mozillazine.org/viewtopic.php?p=494957

His work is based on TierManns': http://tiermann.freehosting.net/

http://iterator.besmirched.org/mozilla/mozbuild.html might help as well.

I based my .mozconfig on Dorians (look in the forum), optimized for a different processor, but did a integrated build (of course <g>) as well. You have to avoid the -GL switch.

HTH!

P.S.: Ulfs patches to Mozilla and his mozconfig are not documented as far as I know. sad smiley

P.P.S.: I'm still looking for an editor/ide to do some K-M work. Help appreciated. :-)

Options: ReplyQuote


K-Meleon forum is powered by Phorum.