MFC 1.3 · Шаг 1. Что установить
Что будет сделано на этой странице. Вы установите на компьютер всё, что нужно для сборки MFC-версии TMC Suite 1.3: среду Microsoft Visual Studio 2026 с компилятором C++ и библиотекой MFC, при желании — программу Git (для скачивания исходников) и Inno Setup (для сборки установщика). В конце страницы — проверка, что всё установлено правильно.
Эта инструкция — для MFC-версии пакета (исходники в репозитории https://github.com/klimov-kn/TMC_Suite). Для Qt6-версии см. отдельную инструкцию «Qt6 5.0 · 1. Что установить».
1.0 Сводка: что нужно и зачем
| Программа | Обязательна? | Версия, на которой проверено | Зачем |
|---|---|---|---|
| Windows 10 или Windows 11, 64 бита | да | Windows 11 Pro 23H2 (10.0.22631) | операционная система |
| Microsoft Visual Studio Community 2026 | да | 18.11.1 | среда, компилятор C++, библиотека MFC, MSBuild |
| — рабочая нагрузка «Разработка классических приложений на C++» | да | — | компилятор MSVC, набор инструментов v145 |
| — компонент «MFC-библиотека C++ для x64/x86 (последняя версия MSVC)» | да | — | библиотека MFC, без неё сборка невозможна |
| — Windows SDK (любой из предлагаемых установщиком) | да | 10.0.28000.0 (стоят также 10.0.26100 и 10.0.22621) | заголовки и библиотеки Windows, OpenGL |
| Git for Windows | нет (можно скачать ZIP) | 2.42.0 | скачать исходники командой git clone |
| Inno Setup 6 | нет | 6.7.3 | собрать установщик TMC_Suite_Setup.exe (шаг 6) |
Что требуют сами файлы проектов (проверено по src\**\*.vcxproj и build\*.props
репозитория):
| Параметр в проектах | Значение | Что это значит для вас |
|---|---|---|
PlatformToolset |
v145 во всех 12 проектах |
нужен набор инструментов v145 — он есть только в Visual Studio 2026. Visual Studio 2022 (v143) и старше не подойдут без правки проектов |
WindowsTargetPlatformVersion |
не задан | берётся новейший установленный Windows 10/11 SDK (в свойствах проекта это видно как «Windows 10.0 SDK (latest)»). Конкретный номер SDK не важен |
LanguageStandard |
не задан | стандарт по умолчанию компилятора — ISO C++14. Ничего настраивать не нужно |
UseOfMfc |
Static (статическая MFC) у программ и у библиотек prepr, TMCIndan, TMCLibError |
нужен компонент MFC; готовым программам не нужен пакет Visual C++ Redistributable |
CharacterSet |
MultiByte (MBCS) |
многобайтовая кодировка, как в оригинале; библиотеки MFC для MBCS входят в компонент MFC |
RuntimeLibrary |
MultiThreaded (/MT), в Debug — MultiThreadedDebug (/MTd) |
библиотека C подключается статически |
| Платформы | Win32 и x64 |
обе собираются одной установкой Visual Studio |
| Конфигурации | Debug и Release |
всего 4 сочетания |

Свободное место на диске:
- сама Visual Studio с нужной нагрузкой — несколько гигабайт (точное число установщик показывает внизу справа в строке «Общее необходимое пространство» (Total space required));
- исходники — около 14 МБ;
- полная сборка всех четырёх конфигураций — около 3 ГБ (замерено: промежуточные файлы
build\obj— 1,9 ГБ, готовые файлыdist— 1,1 ГБ). Одна конфигурация — примерно четверть.
1.1 Скачайте установщик Visual Studio 2026
- Откройте в браузере официальную страницу загрузок Microsoft: https://visualstudio.microsoft.com/ru/downloads/
-
Найдите блок Community (бесплатная редакция для частных лиц, учёбы, научной работы и проектов с открытым исходным кодом) и нажмите кнопку «Бесплатная загрузка» (Free download).
-
Браузер сохранит небольшой файл установщика (обычно в папку «Загрузки»; имя вида
VisualStudioSetup.exe). - Дважды щёлкните этот файл. На вопрос Windows «Разрешить этому приложению вносить изменения на вашем устройстве?» ответьте «Да».
- Подождите, пока загрузится программа Visual Studio Installer (1–3 минуты, нужен интернет).
Если Visual Studio 2026 у вас уже установлена — запустите Visual Studio Installer из меню «Пуск», у строки Visual Studio Community 2026 нажмите «Изменить» (Modify) и переходите к пункту 1.2 — нужно только проверить галочки.
1.2 Отметьте рабочую нагрузку и компонент MFC
Это самый важный пункт. Если пропустить компонент MFC, сборка не пойдёт.
- В окне установщика откройте вкладку «Рабочие нагрузки» (Workloads) — она открыта по умолчанию.
-
В группе «Классические и мобильные приложения» (Desktop & Mobile) поставьте галочку в плитке «Разработка классических приложений на C++» (Desktop development with C++).

Рабочая нагрузка «Разработка классических приложений на C++» -
Справа появится панель «Сведения об установке» (Installation details). В ней раскройте пункт «Разработка классических приложений на C++». Внутри два списка: «Включено» (Included) — ставится всегда, и «Дополнительно» (Optional) — галочки.
- В списке «Дополнительно» убедитесь, что отмечены (они отмечены по умолчанию — не
снимайте их):
- «Средства сборки MSVC для x64/x86 (последняя версия)» (MSVC Build Tools for x64/x86 (Latest)) — компилятор, набор инструментов v145, и 32-, и 64-битный;
- «ATL-библиотека C++ для x64/x86 (последняя версия MSVC)» (C++ ATL for x64/x86 (Latest MSVC));
- «Windows 11 SDK (10.0.26100.…)» — пакет SDK Windows (номер после точек может быть другим; подойдёт любой Windows 10/11 SDK из списка).
-
Вручную поставьте галочку у пункта «MFC-библиотека C++ для x64/x86 (последняя версия MSVC)» (C++ MFC for x64/x86 (Latest MSVC)). По умолчанию он не отмечен. Если навести на него указатель мыши, появится подсказка «Включает заголовки и библиотеки для разработки приложений библиотек ATL и MFC».

Галочка «MFC-библиотека C++ для x64/x86 (последняя версия MSVC)» в панели «Сведения об установке» Не путайте его с пунктами «MSVC версии 143/142/141 — средства сборки…» и с ARM64-вариантами MFC — они для TMC Suite не нужны.
-
Остальные галочки можно оставить как есть — они не мешают.
Запасной способ: вкладка «Отдельные компоненты»
Если вы не нашли MFC в правой панели:
- Откройте вкладку «Отдельные компоненты» (Individual components).
- В поле поиска вверху введите
MFC. - Поставьте галочку «MFC-библиотека C++ для x64/x86 (последняя версия MSVC)» (C++ MFC for x64/x86 (Latest MSVC)).
- Тем же способом, введя
SDK, проверьте, что отмечен хотя бы один Windows 11 SDK или Пакет SDK для Windows 11.
Языковой пакет (по желанию)
На вкладке «Языковые пакеты» (Language packs) можно выбрать язык интерфейса Visual Studio. В этой инструкции названия меню даны по-русски и в скобках по-английски, поэтому годится любой из двух.
1.3 Установите
- Внизу справа нажмите «Установить» (Install) — или «Изменить» (Modify), если Visual Studio уже стояла.
- Дождитесь окончания (зависит от скорости интернета; обычно 10–40 минут). Компьютер можно не перезагружать, если установщик сам этого не попросит.
- После установки закройте Visual Studio Installer. Запускать Visual Studio пока не обязательно.
При первом запуске Visual Studio спросит про вход в учётную запись Microsoft — можно нажать «Не сейчас, возможно, позже» (Not now, maybe later), выбрать цветовую тему и нажать «Запуск Visual Studio» (Start Visual Studio).
1.4 Git for Windows (если будете скачивать исходники через git)
Git нужен только для способа «А» на следующей странице. Если будете скачивать ZIP-архив — пропустите этот пункт.
- Откройте официальную страницу: https://git-scm.com/downloads/win
- Нажмите ссылку «Click here to download» — скачается установщик вида
Git-<версия>-64-bit.exe. - Запустите его и нажимайте Next на всех страницах, ничего не меняя (настройки по умолчанию подходят), затем Install и Finish.
-
Проверка: откройте меню «Пуск», наберите
PowerShell, запустите Windows PowerShell и введите:git --versionДолжна появиться строка вида
git version 2.xx.x.windows.x. Проверено с версией 2.42.0; подойдёт любая современная версия.
Особая настройка переводов строк не нужна: в репозитории файл
.gitattributesотключает преобразование концов строк (* -text), поэтому исходники скачиваются байт в байт, с русскими комментариями в кодировке Windows-1251.
1.5 Inno Setup 6 (только для сборки установщика)
Нужен, только если вы хотите собрать установщик TMC_Suite_Setup.exe (шаг 6). Для сборки
самих программ он не нужен.
- Откройте официальную страницу: https://jrsoftware.org/isdl.php
- В разделе Stable Release скачайте Inno Setup 6 (файл вида
innosetup-6.x.x.exe). - Установите с настройками по умолчанию. Русский язык мастера установки (
Russian.isl), который использует скриптinstaller\TMC_Suite.iss, входит в стандартную поставку.
Проверено с Inno Setup 6.7.3. Скрипт рассчитан на Inno Setup 6 («Компилятор: Inno Setup 6» написано в его заголовке); Inno Setup 5 не подойдёт.
Куда ставится компилятор ISCC.exe (понадобится на шаге 6): при установке «для всех
пользователей» — C:\Program Files (x86)\Inno Setup 6\ISCC.exe, при установке «только для
меня» — %LOCALAPPDATA%\Programs\Inno Setup 6\ISCC.exe.
1.6 Проверка перед началом
Откройте меню «Пуск» и убедитесь, что там есть:
- [ ] Visual Studio 2026 (или просто Visual Studio);
- [ ] папка Visual Studio Tools с ярлыками Developer PowerShell for VS и Developer Command Prompt for VS (понадобятся для сборки из командной строки, шаг 4);
- [ ] Visual Studio Installer — если откроете его и нажмёте «Изменить», в правой панели должна стоять галочка «MFC-библиотека C++ для x64/x86 (последняя версия MSVC)»;
- [ ] (по желанию)
git --versionотвечает номером версии; - [ ] (по желанию) установлен Inno Setup 6.
Точная проверка из командной строки (вставьте в Developer PowerShell for VS):
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property catalog_productDisplayVersion
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.VisualStudio.Component.VC.ATLMFC -property installationPath
- Первая команда печатает версию Visual Studio, например
18.11.1(должна начинаться с18.). - Вторая печатает папку установки, например
C:\Program Files\Microsoft Visual Studio\18\Community. Если вторая команда ничего не напечатала — компонент MFC не установлен, вернитесь к пункту 1.2.
Дальше — Шаг 2. Получение исходников.
MFC 1.3 · Step 1. What to install
What this page covers. You will install on your computer everything needed to build the MFC version of TMC Suite 1.3: Microsoft Visual Studio 2026 with the C++ compiler and the MFC library, and optionally Git (to download the sources) and Inno Setup (to build the installer). At the end of the page there is a check that everything is installed correctly.
This guide is for the MFC version of the package (sources in the repository https://github.com/klimov-kn/TMC_Suite). For the Qt6 version, see the separate guide "Qt6 5.0 · 1. Requirements".
1.0 Summary: what is needed and why
| Program | Required? | Version tested | Why |
|---|---|---|---|
| Windows 10 or Windows 11, 64-bit | yes | Windows 11 Pro 23H2 (10.0.22631) | operating system |
| Microsoft Visual Studio Community 2026 | yes | 18.11.1 | IDE, C++ compiler, MFC library, MSBuild |
| — workload “Desktop development with C++” | yes | — | MSVC compiler, toolset v145 |
| — component “C++ MFC for x64/x86 (Latest MSVC)” | yes | — | MFC library; the build is impossible without it |
| — Windows SDK (any of those offered by the installer) | yes | 10.0.28000.0 (10.0.26100 and 10.0.22621 are also installed) | Windows headers and libraries, OpenGL |
| Git for Windows | no (you can download a ZIP) | 2.42.0 | download the sources with git clone |
| Inno Setup 6 | no | 6.7.3 | build the installer TMC_Suite_Setup.exe (step 6) |
What the project files themselves require (checked against src\**\*.vcxproj and build\*.props
of the repository):
| Parameter in the projects | Value | What it means for you |
|---|---|---|
PlatformToolset |
v145 in all 12 projects |
you need the v145 toolset — it exists only in Visual Studio 2026. Visual Studio 2022 (v143) and older will not work without editing the projects |
WindowsTargetPlatformVersion |
not set | the newest installed Windows 10/11 SDK is used (in the project properties it is shown as “Windows 10.0 SDK (latest)”). The exact SDK number does not matter |
LanguageStandard |
not set | the compiler’s default standard is ISO C++14. Nothing needs to be configured |
UseOfMfc |
Static (static MFC) for the programs and for the prepr, TMCIndan, TMCLibError libraries |
the MFC component is needed; the finished programs do not need the Visual C++ Redistributable package |
CharacterSet |
MultiByte (MBCS) |
multibyte character set, as in the original; the MFC libraries for MBCS are part of the MFC component |
RuntimeLibrary |
MultiThreaded (/MT), in Debug — MultiThreadedDebug (/MTd) |
the C runtime library is linked statically |
| Platforms | Win32 and x64 |
both are built with one Visual Studio installation |
| Configurations | Debug and Release |
4 combinations in total |

Free disk space:
- Visual Studio itself with the required workload — several gigabytes (the installer shows the exact figure at the bottom right in the line Total space required);
- the sources — about 14 MB;
- a full build of all four configurations — about 3 GB (measured: intermediate files
build\obj— 1.9 GB, finished filesdist— 1.1 GB). One configuration — roughly a quarter.
1.1 Download the Visual Studio 2026 installer
- Open the official Microsoft downloads page in a browser: https://visualstudio.microsoft.com/ru/downloads/
-
Find the Community block (the free edition for individuals, education, research and open-source projects) and click the Free download button.
-
The browser will save a small installer file (usually to the Downloads folder; the name is like
VisualStudioSetup.exe). - Double-click this file. When Windows asks “Do you want to allow this app to make changes to your device?”, answer Yes.
- Wait until the Visual Studio Installer program loads (1–3 minutes, an internet connection is needed).
If Visual Studio 2026 is already installed, start Visual Studio Installer from the Start menu, click Modify in the Visual Studio Community 2026 row and go to section 1.2 — you only need to check the checkboxes.
1.2 Select the workload and the MFC component
This is the most important item. If you skip the MFC component, the build will not work.
- In the installer window, open the Workloads tab — it is open by default.
-
In the Desktop & Mobile group, check the Desktop development with C++ tile.

The “Desktop development with C++” workload -
The Installation details panel appears on the right. In it, expand the Desktop development with C++ item. It contains two lists: Included — always installed, and Optional — checkboxes.
- In the Optional list, make sure the following are checked (they are checked by default — do not
uncheck them):
- MSVC Build Tools for x64/x86 (Latest) — the compiler, toolset v145, both 32-bit and 64-bit;
- C++ ATL for x64/x86 (Latest MSVC);
- Windows 11 SDK (10.0.26100.…) — the Windows SDK package (the number after the dots may be different; any Windows 10/11 SDK from the list will do).
-
Manually check the item C++ MFC for x64/x86 (Latest MSVC). It is not checked by default. If you hover the mouse pointer over it, a tooltip appears: “Includes headers and libraries for developing ATL and MFC library applications”.

The “C++ MFC for x64/x86 (Latest MSVC)” checkbox in the “Installation details” panel Do not confuse it with the items “MSVC v143/v142/v141 — … build tools” and with the ARM64 variants of MFC — they are not needed for TMC Suite.
-
The other checkboxes can be left as they are — they do no harm.
Fallback method: the “Individual components” tab
If you did not find MFC in the right-hand panel:
- Open the Individual components tab.
- Type
MFCin the search box at the top. - Check C++ MFC for x64/x86 (Latest MSVC).
- In the same way, by typing
SDK, check that at least one Windows 11 SDK is checked.
Language pack (optional)
On the Language packs tab you can choose the language of the Visual Studio interface. This guide gives the menu names in English, so the English interface is the most convenient choice.
1.3 Install
- At the bottom right, click Install — or Modify if Visual Studio was already installed.
- Wait until it finishes (depends on the internet speed; usually 10–40 minutes). You do not need to restart the computer unless the installer asks for it.
- After the installation, close Visual Studio Installer. You do not have to start Visual Studio yet.
On first start, Visual Studio asks you to sign in to a Microsoft account — you can click Not now, maybe later, choose a color theme and click Start Visual Studio.
1.4 Git for Windows (if you will download the sources with git)
Git is needed only for method A on the next page. If you are going to download the ZIP archive, skip this item.
- Open the official page: https://git-scm.com/downloads/win
- Click the Click here to download link — an installer like
Git-<version>-64-bit.exeis downloaded. - Run it and click Next on all pages without changing anything (the default settings are fine), then Install and Finish.
-
Check: open the Start menu, type
PowerShell, start Windows PowerShell and enter:git --versionA line like
git version 2.xx.x.windows.xshould appear. Tested with version 2.42.0; any modern version will do.
No special line-ending setting is needed: in the repository, the
.gitattributesfile disables line-ending conversion (* -text), so the sources are downloaded byte for byte, with the Russian comments in the Windows-1251 encoding.
1.5 Inno Setup 6 (only for building the installer)
It is needed only if you want to build the installer TMC_Suite_Setup.exe (step 6). It is not
needed for building the programs themselves.
- Open the official page: https://jrsoftware.org/isdl.php
- In the Stable Release section, download Inno Setup 6 (a file like
innosetup-6.x.x.exe). - Install it with the default settings. The Russian language of the setup wizard (
Russian.isl), which is used by theinstaller\TMC_Suite.issscript, is part of the standard distribution.
Tested with Inno Setup 6.7.3. The script is designed for Inno Setup 6 (its header says “Compiler: Inno Setup 6”); Inno Setup 5 will not work.
Where the ISCC.exe compiler is installed (needed in step 6): when installed “for all
users” — C:\Program Files (x86)\Inno Setup 6\ISCC.exe, when installed “for me
only” — %LOCALAPPDATA%\Programs\Inno Setup 6\ISCC.exe.
1.6 Check before you start
Open the Start menu and make sure it contains:
- [ ] Visual Studio 2026 (or just Visual Studio);
- [ ] the Visual Studio Tools folder with the shortcuts Developer PowerShell for VS and Developer Command Prompt for VS (needed for building from the command line, step 4);
- [ ] Visual Studio Installer — if you open it and click Modify, the right-hand panel should have the checkbox C++ MFC for x64/x86 (Latest MSVC) checked;
- [ ] (optional)
git --versionresponds with a version number; - [ ] (optional) Inno Setup 6 is installed.
Exact check from the command line (paste into Developer PowerShell for VS):
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property catalog_productDisplayVersion
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.VisualStudio.Component.VC.ATLMFC -property installationPath
- The first command prints the Visual Studio version, for example
18.11.1(it must start with18.). - The second prints the installation folder, for example
C:\Program Files\Microsoft Visual Studio\18\Community. If the second command printed nothing, the MFC component is not installed; go back to section 1.2.
Next — Step 2. Getting the sources.