error make in centos 6.8
monschine opened this issue · 1 comments
monschine commented
Hi, it's me again trying to compile your code, this time in centos where I get next error:
g++ -c benchs/add_point_with_stamp.cpp -O3 -g -DNDEBUG -Wall -Wextra -fPIC -I. -std=c++0x -o benchs/add_point_with_stamp.o
In file included from benchs/add_point_with_stamp.cpp:33:
./benchs/common.hpp: In function ‘std::vector<unsigned int, std::allocator<unsigned int> > genpoints(size_t, unsigned int)’:
./benchs/common.hpp:55: error: ‘uniform_int_distribution’ is not a member of ‘std’
./benchs/common.hpp:55: error: expected primary-expression before ‘>’ token
./benchs/common.hpp:55: error: ‘dist’ was not declared in this scope
make: *** [benchs/add_point_with_stamp.o] Error 1
best regards
lucasb-eyer commented
Uhh, that's odd, sounds like they have a weird incomplete version of libstdc++? I don't have an immediate solution, but that's just the benchmark, so you can safely ignore it (maybe comment out that line from the Makefile) unless you want to benchmark the lib. The lib itself still works.