To test your C++ installations, open a x64 Native Tools Command Prompt and navigate to
the directory where you unpacked the binary distribution. Then enter the
following command:
maketest
This runs a selection of examples for OR-Tools. If all the examples run
successfully, you are ready to
get started with OR-Tools.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[[["\u003cp\u003eThis guide provides instructions for installing OR-Tools for C++ on Windows 10 64-bit systems using Microsoft Visual Studio 2022.\u003c/p\u003e\n"],["\u003cp\u003eBefore installing, ensure you have Visual Studio 2022 or later with the C++ toolset and access to a x64 Native Tools Command Prompt.\u003c/p\u003e\n"],["\u003cp\u003eDownload and extract the OR-Tools binary distribution for Visual Studio 2022 from the provided link.\u003c/p\u003e\n"],["\u003cp\u003eValidate your installation by running the \u003ccode\u003emake test\u003c/code\u003e command in the extracted directory, which executes example OR-Tools programs.\u003c/p\u003e\n"]]],["OR-Tools for C++ on Windows requires a 64-bit Windows 10 system with Visual Studio 2022 (Enterprise or Community Preview 2+). Installation involves downloading and extracting the x64 binary distribution from the provided link. To build from the command line, you **must** use the x64 Native Tools Command Prompt. Validate the installation by opening this prompt, navigating to the extracted directory, and running `make test`. Successful test results confirm readiness to use OR-Tools.\n"],null,[]]