Author

Topic: qt file compile problem on osx (Read 946 times)

legendary
Activity: 1156
Merit: 1000
March 01, 2014, 11:21:43 AM
#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
sr. member
Activity: 531
Merit: 260
Vires in Numeris
February 27, 2014, 11:36:43 AM
#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.
legendary
Activity: 1156
Merit: 1000
February 27, 2014, 10:52:28 AM
#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?
Jump to: