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

error make in centos 6.8 #13

Open
monschine opened this issue Nov 27, 2017 · 1 comment
Open

error make in centos 6.8 #13

monschine opened this issue Nov 27, 2017 · 1 comment

Comments

@monschine
Copy link

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
Copy link
Owner

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.

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

No branches or pull requests

2 participants