Bitcoin Forum

Other => Beginners & Help => Topic started by: keverw on February 13, 2014, 04:36:57 AM



Title: Missing build.h file
Post by: keverw on February 13, 2014, 04:36:57 AM
Hey.

I'm trying to compile the QT Client on Mac. I ran "qmake bitcoin-qt.pro "USE_UPNP=-" -r" and it created an xCode project. I opened the xCode project and when I try to compile it in xCode it says "'build.h' file not found" for src/version.cpp:33:14. Any idea why?


Title: Re: Missing build.h file
Post by: keverw on February 13, 2014, 05:21:50 AM
I ran python /Developer/Tools/uninstall-qt.py and then sudo port uninstall qt4-mac

Going to reinstall qt4-mac from MacPorts so then I'll have only one version. Downloaded it from the site, and then Macports. Then I plan to run qmake again and see if I get a different result with only MacPorts QT.


Title: Re: Missing build.h file
Post by: keverw on February 13, 2014, 08:02:33 AM
Okay. Got qt4-mac from MacPorts installed. Had to reboot and now qmake runs.

Now running "make -f Makefile", this time it didn't make a XCode project.


"ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt] Error 1"

:/


Title: Re: Missing build.h file
Post by: keverw on February 23, 2014, 02:08:45 AM
Just wanted to update and say I got it working. I switched to a 32bit install of Snow Leopard and redid everything I was doing. So no longer need help with this.