Skip to content

Latest commit

 

History

History
131 lines (93 loc) · 3.47 KB

Installing-Required-Tools.md

File metadata and controls

131 lines (93 loc) · 3.47 KB

Installing Development Environment Tools

This documetation is incomplete, and really has little to do with Stroika, but has been frequently requested, so I'm adding some brief docs on this.

Note also - much of this (in perhaps more detail) can be gleaned (programatically) from the reading the Docker files

Or better yet, can be avoided entirely by just using the pre-built docker containers Quick-Start.


What all build platforms require (overview)

  • c++ compiler supporting C++20 or later
  • make (gnu make)
  • patch
  • perl
  • pkg-config
  • realpath
  • sed
  • tar
  • tr
  • wget
  • 7za (if building with LZMA SDK – the default)
  • unzip

For MacOS

  • XCode (14 or later)
    • install from appstore
    • Then from command line

Windows

Building with Stroika requires

  • a C++ compiler (suggested Visual Studio.net 2022 or later)
  • a set of unix-like build tools (suggested MSYS OR Cygwin - no need for both)

Visual Studio.net 2022

  • Download and run https://aka.ms/vs/17/release/vs_community.exe
  • Install the C++ related workloads
    • Desktop Development with C++ (suggested/sufficient to get started)
  • On the Individual Components page
    • select MFC (latest or whatever platform/toolsets you are targetting) if you want to build the LedIt, LedLineIt, and ActiveLedIt samples

Cygwin

  • Download and install https://cygwin.com/setup-x86_64.exe
  • Add packages
    • make
    • p7zip
    • git (not used by Stroika, but by these instructions)
    • wget
    • patch
    • pkg-config
    • automake
    • dos2unix
    • unzip
    • jq

Via Chocolatey

  • https://chocolatey.org/

    This assumes you've first installed choco (see above link)

    choco install cygwin cyg-get
    cyg-get default make git wget patch pkg-config automake dos2unix unzip p7zip doxygen jq
    

MSYS

Note - we've only tested building (from MSYS) using Visual Studio. We've not yet integrated building with MINGW.


For UNIX

  • Compiler
    • gcc 11 or later OR
      • Stroika v3 is currently tested with gcc-11 thru gcc-14
    • llvm (clang++) 14 or later
      • Stroika v3 is currently tested with clang-14 thrue clang-19
      • libc++ - if used - must be v 14 or later due to concept/chrono support
  • automake (if building curl)
  • libtool (gnu version) – (if building curl)

Other useful tools

  • clang-format
    npm install -g clang-format

Return to Building Stroika instructions