Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
K-Meleon build with Visualstudio 2013 or 2015
Posted by: manish
Date: December 02, 2015 11:41AM

Hello,

We are trying to build latest k-meleon code with visual studio 2013 and 2015. But it keep producing different type of compile errors even after correctly setting library and header paths.
Does it require C++ 11 support ?


Thanks
Manish Narang

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: guenter
Date: December 02, 2015 06:39PM

AFAIK You will use Microsoft Visual Studio 2013 / VC12. It is practise to build K-Meleon with the same compiler that You have build the GRE and the SDK that is build together with the GRE.

On what are the build tools for GRE and SDK confer:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites

If You use fileAlyser or such tool on the k-meleon.exe You will find that it uses the msvcr120.dll that belongs to the Microsoft Visual Studio 2013.


Additionally You need a MFC embed support (headers etc.) to build k-eleon's core.
No idea which version of the VC12 ships that.

p.s. If You have a free version that does not ship the needed files - You can install a test version of a commercial version that has them and keep the files and folders to use with the free version after it expired.



Edited 2 time(s). Last edit at 12/02/2015 10:33PM by guenter.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: 4td8s
Date: December 28, 2015 04:47PM

AND you have to be using Windows 7 or greater to build with either Visual Studio 2013 or 2015. It's NOT okay to build apps with VS2013/2015 and using versions of Windows older than Win7. THAT'S important too!



Edited 1 time(s). Last edit at 12/28/2015 04:47PM by 4td8s.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: Dorian
Date: December 28, 2015 04:56PM

You need win7+ to install VS 2013/2015.
Without the errors it's hard to help.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: 4td8s
Date: August 21, 2016 03:15AM

AND another thing: Build K-meleon with Visual Studio 2013 if you want it to run on "legacy" CPUs like Intel Pentium 3s & older and AMD K7 CPUs & older (Athlon XP/Sempron).

Attempting to build or create K-meleon with Visual Studio 2015 will KILL support for old CPUs and require minimum Intel Pentium 4 or AMD Athlon 64/Sempron 64 (aka AMD K8) CPUs with SSE2 support. The recent Mozilla Firefox 49 betas (the win32 ones that I've tested) were built using VS2015 w/ Update 2 and will NOT install on older CPUs like Intel Pentium 3s & AMD-K7s (or any other processors w/out SSE2).



Edited 2 time(s). Last edit at 08/21/2016 03:17AM by 4td8s.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: guenter
Date: August 21, 2016 06:34AM

Quote
4td8s
AND another thing: Build K-meleon with Visual Studio 2013 if you want it to run on "legacy" CPUs like Intel Pentium 3s & older and AMD K7 CPUs & older (Athlon XP/Sempron).

Attempting to build or create K-meleon with Visual Studio 2015 will KILL support for old CPUs and require minimum Intel Pentium 4 or AMD Athlon 64/Sempron 64 (aka AMD K8) CPUs with SSE2 support. The recent Mozilla Firefox 49 betas (the win32 ones that I've tested) were built using VS2015 w/ Update 2 and will NOT install on older CPUs like Intel Pentium 3s & AMD-K7s (or any other processors w/out SSE2).

Quote
Windows build prerequisites
Firefox 48 and later build with Visual Studio 2015 in our official releases. You should be using Visual Studio 2015 to build all current versions of Firefox.

Firefox 37 through 47 build with Visual Studio 2013 (VC12) and possibly Visual Studio 2015 (although Visual Studio 2015 may not build every revision).

Earlier versions of Firefox build with older versions of Visual Studio.

In the past support to build with different compilers overlapped more.

So it might be possible to build with an older compiler but Mozilla does not recommend or guarantee it. Judging from past experience Mozilla sometimes prevents the use of older compilers while they still could work.

You can usually find people that build with other/older compilers and patches.

I last googled for such info 2 years back.

BTW. Chrome browser said - this version is the last update for Your legacy OS.
I am XP SP 3. So it is not only the hardware that is not supported any more by their US vendors.



Edited 2 time(s). Last edit at 08/21/2016 07:32AM by guenter.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: 4td8s
Date: September 09, 2016 09:52PM

A few weeks ago I attempted to run win32 Firefox 49.0 beta 6 (even 32bit Cyberfox 49.0b6) [both portable versions] on a PC using an AMD Athlon XP 3200+ 2.2Ghz cpu w/ no SSE2 instruction set, guenter. Guess what? FF 49.0b6 and CB49.0b6 both crashed on there - all because they were created from Visual Studio 2015.

In fact ANY app created from VS2015 crashes on CPUs w/out SSE2.

Looks like I'll be using Firefox 48 on that old Athlon XP based computer and not upgrading to Firefox 49 or higher.



Edited 1 time(s). Last edit at 09/09/2016 09:53PM by 4td8s.

Options: ReplyQuote
Re: K-Meleon build with Visualstudio 2013 or 2015
Posted by: 4td8s
Date: September 21, 2016 08:17PM

yup. Firefox 49 was officially released September 19 (not September 12) and check out part of the FF49 release notes:
https://www.mozilla.org/en-US/firefox/49.0/releasenotes/

Quote


-Ended Firefox for Mac support for OS X 10.6, 10.7, and 10.8.

-Ended Firefox for Windows support for SSE processors

-Removed Firefox Hello

-Re-enabled the default for Graphite2 font shaping

Firefox 49 will no longer run on CPUs with just SSE and require more modern processors with at least SSE2.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.