Bitcoin Forum
November 09, 2024, 12:46:47 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help Building -QT on OSX/Mac?  (Read 420 times)
shakezula (OP)
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
May 21, 2013, 09:04:16 PM
 #1

ok, I posted this in the Technical Discussion section, but not knowing how much traffic it gets and knowing a few around here are good with this kinda thing I thought I'd repost it here too:

I'm stuck. I've tried a lot of things yet I can simply NOT get past this:

Undefined symbols:
  "MapPort()", referenced from:
      OptionsModel::setData(QModelIndex const&, QVariant const&, int)in optionsmodel.o
  "_fUseUPnP", referenced from:
      OptionsModel::setData(QModelIndex const&, QVariant const&, int)in optionsmodel.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

When it tries to build. I have tried on multiple VMs with multiple QT and GCC versions, nearly all end up with this error. Here's what I did on the latest build:

Installed OSX 10.6 in VMWare
Updated through 10.6.8 and all available software through today
Installed XCode 3.2.6
Installed MacPorts
$sudo port install boost db48 git-core openssl miniupnpc
went in to ~/bitcoin and tried to do:
qmake and then make

When it errored out, I tried installing QT Creator just to take the qmake line and tried this one:

$ qmake /Users/adam/bitcoin/bitcoin-qt.pro -r -spec macx-g++ CONFIG+=x86_64 "USE_UPNP=-"

but when I make it errors out the same. I've tried editing the .pro file with /opt/local/ includes for MINIUPNPC and all others. I've also tried building another VM from scratch and doing the SAME thing without ports, using homebrew instead. SAME ISSUES!

Please, I know this has to be something easy I'm missing, anyone anyone help?
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!