The public main branch is the portable
starting point. The project requires CMake 3.21 or newer and a C++20 compiler.
Requirements
-
Git and CMake 3.21 or newer.
-
Visual Studio 2022 on Windows, or GCC/Clang plus Ninja on Linux, WSL, and macOS.
-
vcpkg for the core JSON/SQLite dependencies and optional feature lanes.
-
The vcpkg environment set. The presets reference two variable names for historical reasons; set both to your vcpkg checkout so every preset resolves:
$env:VCPKG_ROOT = "path\to\vcpkg" $env:VCPKG_INSTALLATION_ROOT = "path\to\vcpkg"
Dependencies are declared in vcpkg.json and restored on the first configure
(manifest mode).
Full working build (Windows)
pro-md is the fullest build on main — the core engine plus LMDB indexing and
the Turbo Vision UI. Use it if you want a working database runtime.
git clone https://github.com/deraldg/x64base.git
cd x64base
cmake --preset pro-md
cmake --build --preset pro-md-Release --target dottalkpp
Configure-preset and build-preset names differ — the build preset carries a
-Release suffix (pro-md configures, pro-md-Release builds).
Windows core
The smallest public build proof — no LMDB index commands, no Turbo Vision, wxWidgets, Python bindings, or developer-only command visibility:
git clone https://github.com/deraldg/x64base.git
cd x64base
cmake --preset windows-core
cmake --build --preset windows-core --parallel
ctest --preset windows-core
LMDB itself remains a base dependency because the runtime message catalog maintains LMDB mirrors.
Linux, WSL, or macOS core
git clone https://github.com/deraldg/x64base.git
cd x64base
cmake --preset core-vcpkg
cmake --build --preset core-vcpkg --parallel
ctest --preset core-vcpkg
Optional indexing lane
cmake --preset index-vcpkg
cmake --build --preset index-vcpkg --parallel
ctest --preset index-vcpkg
The vcpkg manifest exposes separate index, tv, wx, and python features.
Do not place personal dependency paths in tracked build files; use environment
variables or an untracked CMakeUserPresets.json.
After the build
A fresh clone has no sample data until you build it. From the repo root, run the self-contained databuild, then start the runtime — see the Quickstart for the full sequence:
.\dottalkpp\scripts\mcc\build_mcc_demo_bases.ps1
.\datarun.ps1
Inside the shell, run DO X64 to select the x64 lane before USE STUDENTS: the
default DBF path is data\dbf, not a lane, so a bare USE will not find the
table.
Editions
The build has two independent axes, both on main:
- Products (
DOTTALK_PRODUCT):LEAN,PROFESSIONAL,EDUCATIONAL,DEVELOPMENT. DefaultDEVELOPMENT. - Index modes (
DOTTALK_INDEX_MODE):NONE,LEGACY,LMDB. The default isLEGACY, notNONE.
Each has a Windows preset: windows-lean-table, windows-lean-lmdb,
windows-educational-lmdb and windows-development-lmdb. LEAN strips most
education, maintenance, and developer surfaces down to a small distributable
runtime; it does not mean engine-only or no-index.
cmake --preset windows-lean-lmdb
cmake --build --preset windows-lean-lmdb --parallel
ctest --preset windows-lean-lmdb
On Linux and WSL the maintained lane is wsl-lean (./wslbuild.sh from the
repo root). The presets are used daily; a cold-clone certification of every
product and index-mode combination is still outstanding. The repository's
BUILDING.md is the
authority for the preset table.
Verify
A supported public state has a green CI run for the same commit. Compare local results with Current Project Truth.