Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [WLC] WorldLeadCurrency a Freigeld coin for a basic income
by
crackfoo
on 30/04/2017, 15:33:12 UTC
I get this error trying to compile on ubuntu 16.04:

g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -DOPENSSL_NO_SSL2=1 -I/home/src/WLC/src -I/home/src/WLC/src/obj -I/usr/local/BerkeleyDB.4.8/include -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/src/WLC/src/leveldb/include -I/home/src/WLC/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/auxpow.d -o obj/auxpow.o auxpow.cpp
In file included from script.h:15:0,
                 from auxpow.cpp:4:
bignum.h:14:18: fatal error: mpfr.h: No such file or directory
compilation terminated.
makefile.unix:180: recipe for target 'obj/auxpow.o' failed
make: *** [obj/auxpow.o] Error 1

Any ideas?

Hi crackfoo, it is very likely that you forgot to install mpfr and gmp.

please install:

sudo apt-get install libgmp-dev
sudo apt-get install libmpfr-dev

to install the needed dependencies. If that doesn't fix it, don't hesitate to ask.

Rik

ahh I missed libmpfr-dev somehow, thanks!