Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: nhilliard on 28 10 2020, 10:39:42

Title: Compiling 0_95_12 branch
Post by: nhilliard on 28 10 2020, 10:39:42
I'm not sure if this should go here or in the Development section but Support/Help seemed more relevant.

I am attempting to compile Miranda NG version 0.95.12 and grabbed a zip of the 0_95_12 branch and the zip from the 0.95.12 Release Page, not sure if they're the same zip.  I got an error on one of the precompiled headers (mir_core.pch, something about being compiled with a previous version compiler maybe, I deleted the folder when I decided to start from scratch). I am in the process of unzipping the 95_12 zip again to be sure I had unzipped 0_95_12 and not master branch and noticed that it was released 7/31 and there are commits from 21 days ago. 

Is there a specific historical branch that would match what is actually in 0.95.12?

Is it possible I have just misconfigured my VS 2017? I have used it for other projects so it's possible I changed some setting in the past but I think the CMake settings would be default.
Title: Re: Compiling 0_95_12 branch
Post by: dartraiden on 28 10 2020, 15:52:27
zip = original release, branch = original release+backports from master (fixes, etc)

Just clone repo, switch to desired branch and open \bin15\mir_full.sln in VS2017 or \bin16\mir_full.sln in VS2019. Many plugins requires to buid mir_core before.

Binaries from our website are builted in VS2017, because VS2019 cannot produce XP-compatible binaries.

Minimal set of VS2017 features:

Also VS2017 contains nasty bug which prevents correct XP support detection (fixed in VS2019 by removing XP support :D)
Code: [Select]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DoBundleInstallationChecks"="false"

Pascal plugins requires FreePascal, History++ required RAD Studio XE2 (I do not know how to build Pascal)
Title: Re: Compiling 0_95_12 branch
Post by: nhilliard on 28 10 2020, 22:31:00
Oddly comparing that list to my Visual Studio Install it looked like the only thing I was missing was the Windows Universal CRT SDK but once I loaded that and tried to load the project it said I was missing Windows XP support and asked me to Install it... it was already installed but I guess my VS got mixed up about it being there.

Funny how they fix bugs by removing the support... typical of them I suppose.  Thanks for the help!
Title: Re: Compiling 0_95_12 branch
Post by: dartraiden on 28 10 2020, 23:52:54
Quote
it was already installed but I guess my VS got mixed up about it being there.
Same on clear install. So there is reghack for this