baldurodinsson / auroracoin-project

MIT License
69 stars 32 forks source link

Unable to compile on OS X #18

Open aldavigdis opened 10 years ago

aldavigdis commented 10 years ago

Auroracoin fails to compile from source on OS X.

checkpoints.cpp is referring to boost/assign/list_of.hpp and boost/foreach.hpp, and neither of them are in the github repository.

$ make -f makefile.osx USE_UPNP=1 USE_QRCODE=1 USE_IPV6=1
/bin/sh ../share/genbuild.sh obj/build.h
llvm-g++ -c -g -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6 -DUSE_UPNP=1 -DHAVE_BUILD_INFO -I"/Users/stefanvignir/github/auroracoin-project/src" -I"/Users/stefanvignir/github/auroracoin-project/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
checkpoints.cpp:8:10: fatal error: 'boost/assign/list_of.hpp' file not found
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
         ^
1 error generated.
make: *** [obj/checkpoints.o] Error 1
aldavigdis commented 10 years ago

Auroracoin can't be considered open source unless all the source files are available and the code compiles.

JoiBlumen commented 10 years ago

Stefan, could it possibly be that you don't have the right links to your boost library...

aldavigdis commented 10 years ago

I'm using a fresh install of OS X, so I didn't have any 3rd party libs. But this is caused by a complete lack of documentation on dependencies.

Here is a list of libraries needed to be installed via MacPorts: