Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: use of undeclared identifier 'assert' #149

Open
themightyoarfish opened this issue Nov 29, 2024 · 0 comments
Open

error: use of undeclared identifier 'assert' #149

themightyoarfish opened this issue Nov 29, 2024 · 0 comments

Comments

@themightyoarfish
Copy link

I'm building current master on macOS 15.1 with Apple Clang 16 like so

git clone https://github.com/koide3/iridescence --recursive && mkdir iridescence/build && cd iridescence/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/Downloads/tmp-prefix && make && make install

which terminates after a bit with

/Users/rasmus/Downloads/source_builds/iridescence/src/glk/pointcloud_buffer.cpp:120:3: error: use of undeclared identifier 'assert'
  120 |   assert(this->num_points == num_points);

Maybe on linux, #include <cassert> is not needed, but adding it makes this error go away on macos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant