Title: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: danosphere on January 27, 2014, 03:02:47 PM I am having a hell of a time compiling the latest Litecoin-QT client from the official git repo. I downloaded the latest 0.8.6.2 code and was able to compile litecoind using:
Code: make -f makefile.osx It takes a second but I end up with a litecoind file that works. If I try building the GUI through QT-Creator I get this error, I have scoured the googles and the internets high and low and I cannot for the life of me figure out how to fix this, pleaseee help. - Macports - QT Creator 4.8 - Litecoin 0.8.6.2 latest repo code - Have installed boost +universal and db48 +universal in an attempt to fix this, still no luck Here is the error I receive after QT Creator attempts to build: Code: Undefined symbols for architecture x86_64: I tried removing all my boost and berkley DB libs and reinstalling because I thought maybe there were broken linkages, no dice. I uninstalled hombrew thinking maybe it messed something up, no luck. I have no issues at all compiling the 0.6.4 client and the 0.8.6.2 litecoind compiles but the GUI/QT Creator just isn't having it. Can someone please shed some light on this? I know its something with library linkages but I don't know the exact solution. Thanks for any help, been tearing my hair out over this and even studying makefile.osx as compared to the Makefile that qmake generates but because the contexts are so different (on being a GUI and all) its hard to tell which piece might be the source of this error. Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: shai_ on January 27, 2014, 04:09:00 PM i'm just using qmake never qtcreator
and then i always need to edit the makefile and the .pro file pro file edits: Code: RELEASE=1 and editing Code: # use: qmake "RELEASE=1" then running 'qmake' and also need to edit Makefile sometimes to look something like (i dont know what i'm doing but this worked): Code:
and then using macdeploy to create dmg (see doc/release-process.txt) (editing fancy.plist and sometimes macdeployqtplus script) Code: python2.7 contrib/macdeploy/macdeployqtplus blablacoin-qt.app -dmg -fancy contrib/macdeploy/fancy.plist i'm using homebrew for dependencies and xcode version 4 i hope this helps.. Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: hamer84 on January 27, 2014, 04:10:10 PM good info,thx ;)
Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: shai_ on January 27, 2014, 04:16:16 PM added some edits
Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: danosphere on January 27, 2014, 04:53:09 PM @shai_ major thanks for the tips! I'll try compiling it without QT creator and just straight using QMake when I get home, maybe that'll do the trick. Its definitely something with QT Creator I think because using the pure makefile.osx builds without issue.
Thanks so much! If anyone else has any insights your expertise is welcome! Will keep this thread updated once this is solved I'll let everyone know. Hopefully this can help some other people out too; I can't be the only one with this issue. Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: danosphere on January 28, 2014, 03:09:25 AM bump still no luck...
I think it has something to do with how leveldb is compiled, that is new with 0.8.6... still looking for help with this issue ::) Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: koguma on April 16, 2014, 02:45:50 PM Ever got it figured out? The problem is boost, but I can't seem to get it working even with this https://qt-project.org/forums/viewthread/35646
bump still no luck... I think it has something to do with how leveldb is compiled, that is new with 0.8.6... still looking for help with this issue ::) Title: Re: PlS HELP - Issue Compiling Litecoin-QT 0.8.6.2 on OSX 10.9 (Macports, QT Creatr) Post by: TheLittleDuke on September 08, 2014, 12:23:42 PM We recently went through this exercise and have built a stable development environment for Mac OS X.
The short answer is we acquired a 32-bit iMac and loaded 10.6.8 (Snow Leopard) onto it. Instead of Macports we opted for Brew to acquire and build the dependencies. The problem noted above is an issue with the "leveldb" sub-build. The primary issue is that the "build_detect_platform" script needs to be set as executable in order for it to determine the ARCH. You can also just manually set the flags in the makefile. I can get those if you still need them. The coind and the -qt versions work great on the development machine! The issue we have recently run up against is the process for building a bundle for distribution. This is especially evident when we try to move via a .dmg image to execute on a 64-bit machine. The dylib files cause it to crash out since they are 64 bit. I've seen a distro where the 32-bit libraries ride a long as a sub-directory in the bundle. This might be the right way vs building a static image? TBD -dvd |