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

Build error #223

Open
pfeatherstone opened this issue Feb 26, 2020 · 6 comments
Open

Build error #223

pfeatherstone opened this issue Feb 26, 2020 · 6 comments

Comments

@pfeatherstone
Copy link

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?

@pfeatherstone
Copy link
Author

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?

@liuliu
Copy link
Owner

liuliu commented Feb 27, 2020

We use clang: https://ci.libccv.org/waterfall gcc would work if you have 16G memory though.

@pfeatherstone
Copy link
Author

pfeatherstone commented Feb 27, 2020

Have you seen this before? Is it because of the macro expansion?

@liuliu
Copy link
Owner

liuliu commented Feb 27, 2020

Yes. Yes.

@pfeatherstone
Copy link
Author

Ok cool. I’ll grab another machine

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

3 participants
@liuliu @pfeatherstone and others