Title: I can't compile Mac OS x wallet for the life of me
Post by: mmitech on November 05, 2015, 06:30:49 PM
I have been struggling with compiling Mac OS X wallet for creditbit (https://www.creditbit.org) for hours now, I solved all issues except this one: /opt/local/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN' #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) ^ /opt/local/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2' #define BOOST_DO_JOIN2( X, Y ) X##Y ^ <scratch space>:346:1: note: expanded from here boost_static_assert_typedef_555 ^ In file included from src/irc.cpp:9: In file included from src/base58.h:22: In file included from src/script.h:17: In file included from src/keystore.h:10: In file included from /opt/local/include/boost/signals2/signal.hpp:27: In file included from /opt/local/include/boost/signals2/detail/slot_groups.hpp:15: In file included from /opt/local/include/boost/optional.hpp:15: /opt/local/include/boost/optional/optional.hpp:564:8: warning: unused typedef 'boost_static_assert_typedef_564' [-Wunused-local-typedef] BOOST_STATIC_ASSERT ( ::boost::mpl::not_<is_reference_predicate>::value ) ; ^ /opt/local/include/boost/static_assert.hpp:170:16: note: expanded from macro 'BOOST_STATIC_ASSERT' BOOST_JOIN(boost_static_assert_typedef_, __LINE__) BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE ^ /opt/local/include/boost/config/suffix.hpp:544:28: note: expanded from macro 'BOOST_JOIN' #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y ) ^ /opt/local/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN' #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) ^ /opt/local/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2' #define BOOST_DO_JOIN2( X, Y ) X##Y ^ <scratch space>:348:1: note: expanded from here boost_static_assert_typedef_564 ^ 1 error generated. make: *** [build/net.o] Error 1 make: *** Waiting for unfinished jobs.... 16 warnings generated. 59 warnings generated. 55 warnings generated. I keep on getting Boost warnings then the build fails, I tried installing dependencies through port and failed then I tried brew and failed, then I tried compiling boost my self (multiple versions 1_55_0 to 1_59_0) and failed. I can't find any detailed Tutorial like the windows one (https://bitcointalk.org/index.php?topic=149479.0), BTW kudos to that guy. any Idea on what could be wrong here ?
Title: Re: I can't compile Mac OS x wallet for the life of me
Post by: zen2 on November 06, 2015, 08:05:36 AM
I have been struggling with compiling Mac OS X wallet for creditbit (https://www.creditbit.org) for hours now, I solved all issues except this one: /opt/local/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN' #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) ^ /opt/local/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2' #define BOOST_DO_JOIN2( X, Y ) X##Y ^ <scratch space>:346:1: note: expanded from here boost_static_assert_typedef_555 ^ In file included from src/irc.cpp:9: In file included from src/base58.h:22: In file included from src/script.h:17: In file included from src/keystore.h:10: In file included from /opt/local/include/boost/signals2/signal.hpp:27: In file included from /opt/local/include/boost/signals2/detail/slot_groups.hpp:15: In file included from /opt/local/include/boost/optional.hpp:15: /opt/local/include/boost/optional/optional.hpp:564:8: warning: unused typedef 'boost_static_assert_typedef_564' [-Wunused-local-typedef] BOOST_STATIC_ASSERT ( ::boost::mpl::not_<is_reference_predicate>::value ) ; ^ /opt/local/include/boost/static_assert.hpp:170:16: note: expanded from macro 'BOOST_STATIC_ASSERT' BOOST_JOIN(boost_static_assert_typedef_, __LINE__) BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE ^ /opt/local/include/boost/config/suffix.hpp:544:28: note: expanded from macro 'BOOST_JOIN' #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y ) ^ /opt/local/include/boost/config/suffix.hpp:545:31: note: expanded from macro 'BOOST_DO_JOIN' #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) ^ /opt/local/include/boost/config/suffix.hpp:546:32: note: expanded from macro 'BOOST_DO_JOIN2' #define BOOST_DO_JOIN2( X, Y ) X##Y ^ <scratch space>:348:1: note: expanded from here boost_static_assert_typedef_564 ^ 1 error generated. make: *** [build/net.o] Error 1 make: *** Waiting for unfinished jobs.... 16 warnings generated. 59 warnings generated. 55 warnings generated. I keep on getting Boost warnings then the build fails, I tried installing dependencies through port and failed then I tried brew and failed, then I tried compiling boost my self (multiple versions 1_55_0 to 1_59_0) and failed. I can't find any detailed Tutorial like the windows one (https://bitcointalk.org/index.php?topic=149479.0), BTW kudos to that guy. any Idea on what would be wrong here ? dependcies-error is the problem. Your boost version is not the correct one. use this tutorial: https://github.com/ppcoin/ppcoin/blob/master/doc/build-osx.txt p.s. thread should be moved into the right section (altcoins)
Title: Re: I can't compile Mac OS x wallet for the life of me
Post by: mmitech on November 06, 2015, 07:40:52 PM
dependcies-error is the problem. Your boost version is not the correct one. use this tutorial: https://github.com/ppcoin/ppcoin/blob/master/doc/build-osx.txt
p.s. thread should be moved into the right section (altcoins)
Been there and done that... BTW, this is the Technical discussion sub-forum, everyone can profit from this kind of threads so.... don't get smart on me here.
Title: Re: I can't compile Mac OS x wallet for the life of me
Post by: mmitech on November 11, 2015, 04:56:17 PM
I didn't solve this yet, can anyone try to compile [ur=https://github.com/creditbit/creditbitl]this source code[/url] on Mac OS X and tell me how it went ? I tried on a VM and I can't get all dependencies to work !
|