Bitcoin Forum
April 18, 2024, 10:41:45 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I can't compile Mac OS x wallet for the life of me  (Read 714 times)
mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 05, 2015, 06:30:49 PM
Last edit: November 06, 2015, 07:34:30 PM by mmitech
 #1

I have been struggling with compiling Mac OS X wallet for creditbit for hours now, I solved all issues except this one:


Code:
/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 , BTW kudos to that guy.


any Idea on what could be wrong here ?
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
zen2
Full Member
***
Offline Offline

Activity: 155
Merit: 100



View Profile
November 06, 2015, 08:05:36 AM
 #2

I have been struggling with compiling Mac OS X wallet for creditbit for hours now, I solved all issues except this one:


Code:
/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 , 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)
mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 06, 2015, 07:40:52 PM
 #3



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.
mmitech (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


things you own end up owning you


View Profile
November 11, 2015, 04:56:17 PM
 #4

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 !
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!