Nexusoft / PrimePoolMiner

CPU Miner for Nexus Pools
22 stars 19 forks source link

building miner in linux Mint 18 failed #7

Open newmzy opened 7 years ago

newmzy commented 7 years ago

Hi - I just followed the instructions for building the miner for Ubuntu. I believe I followed them exactly as described. I'm actually using Linux Mint 18 which I'm pretty sure is derived from ubuntu.

When I executed > make MARCHFLAGS=-march=native -f makefile.unix

it seemed to be working until I got this:

g++ -c -pthread -m64 -static-libgcc -static-libstdc++ -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_USE_LIB -I/home/newmz/PrimePoolMiner -I/home/newmz/PrimePoolMiner/build -I/home/newmz/PrimePoolMiner/hash -Ofast -march=native -MMD -o build/util.o util.cpp In file included from util.cpp:1:0: util.h:4:53: fatal error: boost/date_time/posix_time/posix_time.hpp: No such file or directory

include <boost/date_time/posix_time/posix_time.hpp>

                                                 ^

compilation terminated. makefile.unix:45: recipe for target 'build/util.o' failed make: *** [build/util.o] Error 1

Can anyone suggest a fix or what I may have done incorrectly?

antoinemineau commented 7 years ago

You are missing boost dev libraries. You need to install them in order to have the posix_time.hpp file.

Nehemoth commented 6 years ago

I'm having this issue too but I do have boost dev libraries installed