at-cg / RAFT

21 stars 1 forks source link

error make #2

Open ferrojm opened 10 months ago

ferrojm commented 10 months ago

Hi! I get the following error when trying to make

make g++ -std=c++14 -O3 main.cpp -o raft -lz g++: error: unrecognized command line option '-std=c++14' make: *** [Makefile:6: all] Error 1

Thank you!

cjain7 commented 10 months ago

You may be using a very old version of GCC that lacks support of C++14 features. See if you can switch to a newer version (at least v6.0 or later).

ferrojm commented 10 months ago

Thanks!! I loaded another gcc version in the HPC and that solved the problem!!