{"id":28087607,"url":"https://github.com/sebsjames/mathplot","last_synced_at":"2025-05-13T11:32:43.005Z","repository":{"id":288439176,"uuid":"967970181","full_name":"sebsjames/mathplot","owner":"sebsjames","description":"Plotting, graphing and data visualization for your C++ programs","archived":false,"fork":false,"pushed_at":"2025-05-08T16:08:50.000Z","size":48818,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T16:39:39.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebsjames.png","metadata":{"files":{"readme":"README.build.compiler.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-17T09:37:42.000Z","updated_at":"2025-05-08T16:08:56.000Z","dependencies_parsed_at":"2025-05-08T16:37:18.031Z","dependency_job_id":null,"html_url":"https://github.com/sebsjames/mathplot","commit_stats":null,"previous_names":["sebsjames/mathplot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebsjames%2Fmathplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebsjames%2Fmathplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebsjames%2Fmathplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebsjames%2Fmathplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebsjames","download_url":"https://codeload.github.com/sebsjames/mathplot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253933138,"owners_count":21986527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T11:32:42.550Z","updated_at":"2025-05-13T11:32:42.993Z","avatar_url":"https://github.com/sebsjames.png","language":"C++","readme":"# Minimum compiler versions\n\nmathplog makes extensive use of C++-20. For this reason, there\nare minimum supported versions of common compilers to be able to\ncompile the examples and any program against mathplog. The general rule is that the compiler should\nprovide full C++-20 support.\n\nNote that some of the headers will have more relaxed compiler\nrequirements. If you are only using a small subset of the\nheaders in your code, you may get away with a compiler that does not\nfulfil the requirements given here.\n\n\n## Tested compiler versions\n\n| OS           | Compiler | Version | Result and reason                        |\n| :-------:    | :------: | :-----: | ---------------------------------------- |\n| Ubuntu 24.04 | g++      | 10.5    | Fail: g++ 10.5 support for C++20 missing |\n| Ubuntu 24.04 | g++      | 11.4    | Pass (make \u0026\u0026 make test)                 |\n| Ubuntu 24.04 | g++      | 12.3    | Pass (make \u0026\u0026 make test)                 |\n| Ubuntu 24.04 | g++      | 13.2    | Pass (make \u0026\u0026 make test)                 |\n| Ubuntu 24.04 | clang++  | 14.0    | Fail: on colourmaps_mono target (`#include \u003cformat\u003e` problem)  |\n| Ubuntu 24.04 | clang++  | 15.0    | Fail: (constexpr problems)               |\n| Ubuntu 24.04 | clang++  | 16.0    | Pass (make \u0026\u0026 make test)                 |\n| Ubuntu 24.04 | clang++  | 17      | Pass (make \u0026\u0026 make test)                 |\n| Ubuntu 24.04 | clang++  | 18.1    | Pass (make \u0026\u0026 make test)                 |\n\nThe build also succeeds on various versions of Mac OS with\nclang. Entries in the table for clang on Mac are to follow.\n\n## Default compilers on different OS platforms\n\n| OS           | Default Compiler Family | Version | Support |\n| :-------:    | :------:                | :-----: | :--:    |\n| Ubuntu 20.04 | gcc                     | 9       | No      |\n| Ubuntu 20.10 | gcc                     | 10      | No      |\n| Ubuntu 22.04 | gcc                     | 11      | Yes     |\n| Ubuntu 22.04 | gcc                     | 13      | Yes     |\n| Ubuntu 22.10 | gcc                     | 12      | Yes     |\n| Ubuntu 24.04 | gcc                     | 13      | Yes     |\n| Ubuntu 24.04 | gcc                     | 14      | Yes     |\n| Fedora 35    | gcc                     | 11      | Yes     |\n| Fedora 36    | gcc                     | 12      | Yes     |\n| Fedora 37    | gcc                     | 12      | Yes     |\n| Fedora 38    | gcc                     | 13      | Yes     |\n| Fedora 39    | gcc                     | 13      | Yes     |\n| Fedora 40    | gcc                     | 14      | Yes*    |\n\n*Well, probably/hopefully/presumably :)\n\n## Building with clang on Linux\n\nInstall clang (which on Ubuntu provides clang++) and a suitable version of libstdc++.\n\nOn Ubuntu 24, I used `clang-18` and `libstdc++-14-dev` together.\n\nYou then call cmake with\n\n```bash\nmkdir build_clang\ncd build_clang\nCC=clang CXX=clang++ cmake .. # Or maybe CC=clang-18 CXX=clang++-18\nmake\n```\n(You probably don't need CC=clang)\n","funding_links":[],"categories":["Data visualization","Mathematics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebsjames%2Fmathplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebsjames%2Fmathplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebsjames%2Fmathplot/lists"}