Skip to content

flumn/basicviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified Circuit Visualizer

Build Configuration

System Requirements

Development tools:

  • cmake (3.13+)
  • a build tool (GNU make, ninja, IDE-provided, etc.)
  • C++17 compatible compiler (e.g. GCC (8+) or clang (5+))

Preinstalled libraries:

  • SDL21
  • SDL2_ttf (2.20.1+)2

General build instructions

$ cmake -S . -B build # -G Ninja, etc.
$ cd build
$ make                # ninja, etc.

Linux

If your distribution provides the latest release version of SDL2_ttf library, you may use the system package manager to install it. Otherwise, get the source disribution from the distribution page2, build and install the library manually. When installing to non-standard location <sdl2ttf-dir>, provide the path to the cmake configuration step:

$ cmake -S . -B build -DCMAKE_PREFIX_PATH=<sdl2ttf-dir>

Windows

Get the appropirate development releases from the distribution page3, unpack and copy contents of the archived directories to the same location <install-prefix>. Then provide the path to the cmake configuration step:

$ cmake -S . -B build -DCMAKE_PREFIX_PATH=<install-prefix>

If an IDE is in use, find the IDE cmake configuration options and provide the -DCMAKE_PREFIX_PATH=<install-prefix> option accordingly.

MacOS

Homebrew package manager provides the latest library versions:

$ brew install sdl2 sdl2_ttf

Footnotes

  1. https://libsdl.org

  2. https://github.com/libsdl-org/SDL_ttf/releases 2 3

  3. https://github.com/libsdl-org/SDL/releases

    Development releases for Windows are prefixed with SDL2-devel, but the actual release depends on the target development environment. If mingw is not in use, the package for VC will probably suffice.

    The same applies to SDL2_ttf packages2.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.1%
  • CMake 3.9%