Author Topic: Compiling 0_95_12 branch  (Read 14 times)

0 Members and 1 Guest are viewing this topic.

Online nhilliardTopic starter

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Compiling 0_95_12 branch
« on: Today at 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.

Offline dartraiden

Re: Compiling 0_95_12 branch
« Reply #1 on: Today at 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:
  • Static analysis tools
  • Text Template Transformation
  • C# and Visual Basic Roslyn compilers
  • MSBuild
  • VC++ 2017 version 15.9 v14.16 latest v141 tools
  • Visual C++ 2017 Redistributable Update
  • Windows Universal CRT SDK
  • Windows XP support for C++
  • Visual Studio C++ core 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]

Pascal plugins requires FreePascal, History++ required RAD Studio XE2 (I do not know how to build Pascal)
« Last Edit: Today at 16:02:19 by dartraiden »
The following users thanked this post: nhilliard

Online nhilliardTopic starter

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Compiling 0_95_12 branch
« Reply #2 on: Today at 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!