Bitcoin Forum
May 27, 2024, 06:16:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: qt file compile problem on osx  (Read 945 times)
First.Bitcoins (OP)
Legendary
*
Offline Offline

Activity: 1156
Merit: 1000


View Profile WWW
February 27, 2014, 03:52:28 PM
 #1

I am trying to compile a test qt file on osx 10.7.5 and get this error:
-----------------
Undefined symbols for architecture x86_64:
  "boost::atomics::detail::lockpool::get_lock_for(void const volatile*)", referenced from:
      boost::thread_detail::enter_once_region(boost::once_flag&) in libboost_thread-mt.a(once.o)
      boost::thread_detail::commit_once_region(boost::once_flag&) in libboost_thread-mt.a(once.o)
      boost::thread_detail::rollback_once_region(boost::once_flag&) in libboost_thread-mt.a(once.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-------------------
-v shows: This program built for i386-apple-darwin11.3.0

Any idea how to fix?

Founding Dev of ArtByte, the crypto supporting the arts, started in NYC - May 1, 2014 ArtByte.me
davidpbrown
Sr. Member
****
Offline Offline

Activity: 531
Merit: 260


Vires in Numeris


View Profile WWW
February 27, 2014, 04:36:43 PM
 #2

I'm not an expert but I can push buttons and found making QT easier via the QT-Builder, just import into the program and press build.
I wonder perhaps that error needs attention by devs but not sure what it suggests.

฿://12vxXHdmurFP3tpPk7bt6YrM3XPiftA82s
First.Bitcoins (OP)
Legendary
*
Offline Offline

Activity: 1156
Merit: 1000


View Profile WWW
March 01, 2014, 04:21:43 PM
 #3

For those who might have the same problem compiling any altcoin on mac, I fixed it by uninstalling and reinstalling boost (using macports) with the universal flag:

%% sudo port uninstall boost
%% sudo port install boost +universal

Founding Dev of ArtByte, the crypto supporting the arts, started in NYC - May 1, 2014 ArtByte.me
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!