Closed rbruga closed 3 years ago
I haven't seen this before. It may be caused by an old GCC compiler which is known for not handling C++14 correctly: https://stackoverflow.com/questions/36489369/constexpr-non-static-member-function-with-non-constexpr-constructor-gcc-clang-d
@rbruga Can you try GNU compiler version 7.2 or later? Current stable version is 10.2, I've been testing on 9.x
@johnhe4 Updated to GCC-7 and G++7 (7.5.0) and there is no error now. Thanks! Requirements list says GCC 6.5 minimum, that will need to get updated.
If you have multiple gcc and g++ versions on the machine and it is picking an older one, try: export CC=/path/to/newer/gcc export CXX=/path/to/newer/g++ cmake .. make
recognize the build error below?
Partial cmake output with compiler versions and checks:
make output showing error (using master)