Building Miranda: Difference between revisions
Jump to navigation
Jump to search
Dart Raiden (talk | contribs) No edit summary |
Dart Raiden (talk | contribs) No edit summary |
||
Line 32: | Line 32: | ||
<!--T:5--> | <!--T:5--> | ||
You need [<tvar|perl>https://learn.perl.org/installing/windows.html</> Perl] and [<tvar|nasm>https://www.nasm.us</> NASM] to build [<tvar|openssl>https://www.openssl.org</> OpenSSL] | You need [<tvar|perl>https://learn.perl.org/installing/windows.html</> Perl] and [<tvar|nasm>https://www.nasm.us</> NASM] to build [<tvar|openssl>https://www.openssl.org</> OpenSSL]: | ||
* apply Miranda-specific patch to OpenSSL sources | |||
</translate> | </translate> | ||
cd /d "Path\to\OpenSSL\sources" | |||
<tt>git apply "\tools\openssl\openssl-mir-changes.patch" | |||
perl "Path\to\OpenSSL\sources\Configure" shared VC-WIN64A | |||
nmake</tt> | |||
[[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]] | [[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]] |
Revision as of 22:39, 4 December 2023
Note
The following was tested in Windows 10 and newer.
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 tdlib.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 it if you want to build and use Telegram protocol.
- 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:
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:
- apply Miranda-specific patch to OpenSSL sources
cd /d "Path\to\OpenSSL\sources" git apply "\tools\openssl\openssl-mir-changes.patch" perl "Path\to\OpenSSL\sources\Configure" shared VC-WIN64A nmake