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

makefile problem #3

Open
xiaoheling opened this issue Dec 17, 2020 · 1 comment
Open

makefile problem #3

xiaoheling opened this issue Dec 17, 2020 · 1 comment

Comments

@xiaoheling
Copy link

$> cd $BUILD_DIR
$> cmake $ROOT_DIR
$> make
$> ./test/main_test #To run all the tests.

when I do the third step,there is a problem as following:

main.cc:13:14: error: ‘uint64_t’ is already declared in this scope
using boost::uint64_t;

where do i make a mistake?thanks for your answering.

@xiaoheling
Copy link
Author

$> cd $BUILD_DIR
$> cmake $ROOT_DIR
$> make
$> ./test/main_test #To run all the tests.

when I do the third step,there is a problem as following:

main.cc:13:14: error: ‘uint64_t’ is already declared in this scope
using boost::uint64_t;

where do i make a mistake?thanks for your answering.

I have solved this problem.
it seems like a "stdlib and boost both define uint64_t" problem.
solution: just exchange all “uint64_t” with “boost::uint64_t” and delete "using boost::uint64_t" in main.cc file.

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

1 participant