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

Errors compiling the HelloWorld example #302

Closed
iweave1 opened this issue May 17, 2024 · 3 comments
Closed

Errors compiling the HelloWorld example #302

iweave1 opened this issue May 17, 2024 · 3 comments

Comments

@iweave1
Copy link

iweave1 commented May 17, 2024

Hi. I am trying to compile the helloworld example and am getting the following errors that seems to be C++20 changes related:
/usr/local/include/DataFrame/Vectors/VectorPtrView.h:345:18: error: explicit specialization in non-namespace scope ‘class hmdf::VectorPtrView<T, A>::iterator’
345 | template<>
| ^
/usr/local/include/DataFrame/Internals/DataFrame_sort.tcc:75:43: error: ‘zip’ is not a member of ‘std::ranges::views’
75 | auto zip = std::ranges::views::zip(*vec, sorting_idxs);
| ^~~
/usr/local/include/DataFrame/Internals/DataFrame_standalone.tcc:954:22: note: candidate expects 3 arguments, 2 provided
954 | std::ranges::fill(done_vec, false);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~

Would you please help me get past these errors?

@hosseinmoein
Copy link
Owner

This error means your compiler is not C++23 compliant. DataFrame requires C++23.

@iweave1
Copy link
Author

iweave1 commented May 19, 2024

Thank you.
It would have been nice to know this from the project's readme.

@hosseinmoein
Copy link
Owner

There is a C++23 badge right on the top of readme

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

No branches or pull requests

2 participants