hosseinmoein / DataFrame

C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
https://hosseinmoein.github.io/DataFrame/
BSD 3-Clause "New" or "Revised" License
2.38k stars 298 forks source link

The `DataFrame.h` occurred an error: `In included file: unknown type name 'requires'` #279

Closed shaojunjie0912 closed 6 months ago

shaojunjie0912 commented 6 months ago

VERSION: the latest.

INSTALL_TYPE: build from source.

BUG: The DataFrame.h occurred an error: In included file: unknown type name 'requires', like this:

Snipaste_2024-01-10_11-17-57

How can I fix this?

shaojunjie0912 commented 6 months ago

The problem seems to be here.

ah

Does this error mean that I didn't build it correctly?

shaojunjie0912 commented 6 months ago

Maybe it's the problem of clangd.

hosseinmoein commented 6 months ago

For the latest release you need a C++23 compiler. Your error indicates that your compiler is lower than C++20