Open pfeatherstone opened 4 years ago
Having a look at the code again, the preprocessor is having to do some crazy macro expansion. @liuliu which compiler are you using and release tag of ccv are you building?
We use clang: https://ci.libccv.org/waterfall gcc would work if you have 16G memory though.
Have you seen this before? Is it because of the macro expansion?
Yes. Yes.
Ok cool. I’ll grab another machine
When building the library, the compiler gets stuck on ccv_resample.c and eventually runs out of memory and dies. I have 8GB of RAM and 2GB of swap. I'm using gcc 7.4.0 on ubuntu 18.03. Does this have anything to do with the preprocessor and the "for_block" macros in the code?