Skip to content

Conversation

@Versus7
Copy link
Contributor

@Versus7 Versus7 commented Jul 9, 2025

While building Iridescence for use on Linux, I came across the same error that 'assert' is not declared in this context.

/iridescence/src/glk/pointcloud_buffer.cpp:120:3: error: ‘assert’ was not declared in this
 scope                                                                                               
  120 |   assert(this->num_points == num_points);                                                    
      |   ^~~~~~                                                                                     
/iridescence/src/glk/pointcloud_buffer.cpp:10:1: note: ‘assert’ is defined in header ‘<cas
sert>; did you forget to ‘#include <cassert>’?                                                      

This PR adds the missing #include directive to fix the compilation error.

Notes

@koide3
Copy link
Owner

koide3 commented Jul 16, 2025

Thanks!

@koide3 koide3 merged commit 666d10b into koide3:master Jul 16, 2025
imhutugui pushed a commit to imhutugui/iridescence that referenced this pull request Aug 27, 2025
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

Successfully merging this pull request may close these issues.

error: use of undeclared identifier 'assert'

2 participants