Building Miranda: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
** Windows 8.1 SDK (only for {{Plugin|Toaster}} plugin)
** Windows 8.1 SDK (only for {{Plugin|Toaster}} plugin)
** Visual Studio C++ core features
** Visual Studio C++ core features
* Open mir_full.sln solution (located at <tt>/bin15</tt> for Visual Studio 2017, <tt>/bin16</tt> for Visual Studio 2019 or <tt>/bin17</tt> for Visual Studio 2022) and build all solution (F7) or particular plugins (in this case build <tt>mir_core</tt> first).
* Open mir_full.sln solution (located at <tt>/bin15</tt> subdirectory for Visual Studio 2017, <tt>/bin16</tt> subdirectory for Visual Studio 2019 or <tt>/bin17</tt> subdirectory for Visual Studio 2022) and build all solution (F7) or particular plugins (in this case build <tt>mir_core</tt> first).
</translate>
</translate>



Revision as of 00:58, 27 February 2023

Other languages:
Note
The following was tested in Windows 10 and newer.
  • Obtain Miranda NG sources
  • Install Visual Studio 2017/2019/2022
  • Bare minimum Visual Studio 2017 components:
    • 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++
    • Windows 8.1 SDK (only for Toaster plugin)
    • Visual Studio C++ core features
  • Open mir_full.sln solution (located at /bin15 subdirectory for Visual Studio 2017, /bin16 subdirectory for Visual Studio 2019 or /bin17 subdirectory for Visual Studio 2022) and build all solution (F7) or particular plugins (in this case build mir_core first).
Important
For Visual Studio 2017 you need to add following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DoBundleInstallationChecks"="false"

You need FreePascal to build plugins written in Pascal (Actman, mRadio, Watrack), except History++ which requires RAD Studio XE2.

You need Perl and NASM to build OpenSSL.