On the build instructions page... https://developer.palemoon.org/build/windows/ the requirement is for Visual Studio Community 2022
Yet further down the page under "Build" heading it reads:
Go to C:\mozilla-build (or wherever you extracted the Mozilla build tools) and run
start-shell.bat
This will open a UNIX-like shell with the compile environment set up for Visual Studio 2015.
Should that read Visual Studio 2022?
Build instructions
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Re: Build instructions
Thanks. It's been reworded. It should indeed have read 2022, not 2015.
I've also made a small change to refer to FranklinDM's useful batch scripts to give a more versatile CLI than Mozilla's kind-of neutered one since the Build Tools v3.0
I've also made a small change to refer to FranklinDM's useful batch scripts to give a more versatile CLI than Mozilla's kind-of neutered one since the Build Tools v3.0
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Build instructions
The 64-bit build went well, no hitches at all. But had some problems with the 32-bit build, even with the extra VS parts installed.
# Hack required for Win32 so it won't crash on old hardware.
export CC=C:/{{VCINSTALLDIR}}/VC/Tools/MSVC/14.33.31629/bin/HostX64/x86/cl.EXE
export LD=C:/{{VCINSTALLDIR}}/VC/Tools/MSVC/14.33.31629/bin/HostX64/x86/link.exe
First line crashed without quotes. With quotes it crashed also. Added "%20" instead of spaces and it still crashes... cannot find C compiler. So I commented out those 2 lines and the build works and the browser runs.
So my question is... how old does the hardware have to be to cause errors?
# Hack required for Win32 so it won't crash on old hardware.
export CC=C:/{{VCINSTALLDIR}}/VC/Tools/MSVC/14.33.31629/bin/HostX64/x86/cl.EXE
export LD=C:/{{VCINSTALLDIR}}/VC/Tools/MSVC/14.33.31629/bin/HostX64/x86/link.exe
First line crashed without quotes. With quotes it crashed also. Added "%20" instead of spaces and it still crashes... cannot find C compiler. So I commented out those 2 lines and the build works and the browser runs.
So my question is... how old does the hardware have to be to cause errors?