daid / daid/EmptyEpsilon

Build Errors with GLM 1.0.0

Open
#2,111 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

Appearantly some features are now gated behind a feature flag and have to be enable with

#define GLM_ENABLE_EXPERIMENTAL

before including, i came upon this issue as I tried to get the new version to compile on Arch Linux, I found the stopgap solution for building here: https://github.com/NixOS/nixpkgs/pull/308253#issuecomment-2106371795 (i.e. passing -DCMAKE_CXX_FLAGS=-DGLM_ENABLE_EXPERIMENTAL to cmake) but it should probably just be put into the code itself.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the build with GLM 1.0.0 on Arch Linux and inspect the CMake configuration and C++ include paths related to GLM. The workaround is documented in the linked NixOS discussion; done means the project builds without manually passing -DGLM_ENABLE_EXPERIMENTAL.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.