cygnusxi / CurecoinSource

Curecoin 2.0+ Source Code
https://curecoin.net
MIT License
146 stars 57 forks source link

Fix miniupnpc versioning. #42

Closed TheGoddessInari closed 4 years ago

TheGoddessInari commented 5 years ago

This should fix #40.

I just used the API versioning that's in miniupnpc. It's worth noting that the header was changed back in 2015, so 2.0 is also affected.

I couldn't compile-test as I could find any compiler that accepted the CBigNum to BIGNUM implicit conversions, whether Ubuntu 18.04, MingW, or anything else.

cdberkstresser commented 5 years ago

I had that same problem with CBigNum/BIGNUM. I believe that went away when I specifically installed libssl1.0-dev (still available on ubuntu 18.10)

TheGoddessInari commented 5 years ago

@cdberkstresser Thanks, that worked to get it compiling on WSL (with libupnp 1.9), so it's compile tested against Ubuntu 18.04. I wouldn't anticipate any problems then.