FistBumpGithub / 2017

0 stars 0 forks source link

Compilation fails for coin daemon / Linux #4

Open anemol opened 7 years ago

anemol commented 7 years ago

make -f makefile.unix USE_UPNP=-

/bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/media/SSD/Workspace/2017/src -I/media/SSD/Workspace/2017/src/obj -DUSE_IPV6=1 -I/media/SSD/Workspace/2017/src/leveldb/include -I/media/SSD/Workspace/2017/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/zerocoin/Accumulator.d -o obj/zerocoin/Accumulator.o zerocoin/Accumulator.cpp
zerocoin/Accumulator.cpp:106:1: fatal error: opening dependency file obj/zerocoin/Accumulator.d: Aucun fichier ou dossier de ce type
} / namespace libzerocoin /
^
compilation terminated.
make: *** [obj/zerocoin/Accumulator.o] Erreur 1

teosanru commented 7 years ago

Hi, have you had the same problem as me, with the daemon building in linux? I use ubuntu 16.04, what version of linux do you use ?, I think all the currency code is wrong, with errors, because it is strange that it does not work with the dependencies that mentions, if supposedly, the dependencies for ubuntu and debian , I also wanted to build the daemon of this currency but until now it is impossible, I am new to linux, hoping that the developer or someone with more experience in this can be of help

anemol commented 7 years ago

I encounter often this problem with coins. They miss to create directories for compilation.

Create yourself a directory:
src/obj/ and src/obj/zerocoin

In addition, i often change rights for the file "src/leveldb/build_detect_platform" to 755

FistBumpGithub commented 7 years ago

thats right, this should fix the issue during compiling the daemon.

myself use a windows enviroment and dont often build the Coind, thats why the folders arent included.