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

Define macro for boost >= 1.66 #50

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Conversation

trourance
Copy link

This is to fix the issue with raspbian buster #44

@cygnusxi
Copy link
Owner

@trourance can you test the current version on raspbian to see if this pull is still required? Thanks!

@trourance
Copy link
Author

trourance commented May 18, 2020

It seems that the master branch doesn't compile anymore on raspbian.
I get the following error:

In file included from main.h:8,
                 from db.h:8,
                 from checkpoints.cpp:10:
bignum.h:104:5: error: ‘CBigNum::CBigNum(long long int)’ cannot be overloaded with ‘CBigNum::CBigNum(int64_t)’
     CBigNum(long long int n)      { init(); setuint64(n); }
     ^~~~~~~
bignum.h:98:5: note: previous declaration ‘CBigNum::CBigNum(int64_t)’
     CBigNum(int64_t n)            { init(); setint64(n); }
     ^~~~~~~
make: *** [makefile.raspberrypi:149: obj/checkpoints.o] Error 1

@Nuitari
Copy link

Nuitari commented May 19, 2020

What versions of gcc and openssl do you have?

@trourance
Copy link
Author

I've tried with both version of libssl, same result.
gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1)
libssl1.0-dev:armhf 1.0.2q-2 or libssl-dev:armhf 1.1.1d-0+deb10u3+rpt1

@Nuitari Nuitari mentioned this pull request May 20, 2020
@pwnzjoon00b
Copy link

Nice, I was able to successfully build curecoind on my rPi making this change!

@cygnusxi cygnusxi merged commit d30f107 into cygnusxi:master Jan 26, 2022
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

Successfully merging this pull request may close these issues.

4 participants