Pages:
Author

Topic: mac wallet compile - page 2. (Read 3172 times)

member
Activity: 92
Merit: 10
April 13, 2016, 11:43:17 AM
#14
250k 1337 to whoever can help me solve this error when trying to compile a wallet to work on older versions of os x

Code:
clang: error: invalid arch name '-arch -all_load'
make: *** [Alphacoin-Qt.app/Contents/MacOS/Alphacoin-Qt] Error 1
19:57:38: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project alphacoin-qt (kit: Desktop)
When executing step "Make"
member
Activity: 92
Merit: 10
April 11, 2016, 10:45:33 AM
#13
thanks
member
Activity: 92
Merit: 10
April 09, 2016, 07:03:18 PM
#12
i am unable to compile anything now, i keep getting the error ld: symbol(s) not found for architecture x86_64, no matter what i try i cannot get past this error, i have tried it on two different mac books, so far i can only compile on a pos imac running 10.7, is there any fix for this at all?
member
Activity: 92
Merit: 10
April 01, 2016, 10:04:40 PM
#11
so i dont use homebrew or macports i just download all of the source code and compile from there?
hero member
Activity: 521
Merit: 522
Developer - EthicHacker - BTC enthusiast
April 01, 2016, 06:19:17 PM
#10
the .sdk's? if thats it i have those i just need to figure out how to implement them

like explained in the documentation for maximum compatibility you should build all deps with the flags:

-mmacosx-version-min=10.7 -arch x86_64 -isysroot $(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

replace the version, architecture specification and sdk directory with yours desired ones to provide support for all versions >= the one from flag. One option is also to have a virtual machine with osx10.6 and build the wallet here and then only deploy it:
when build is finished you have to deploy the application to "put" all libraries inside the app-bundle and link them to bitcoin
so when you share it nobody needs the dependcies preinstalled.


reference:
https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#creating-a-release-build
https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md
https://github.com/bitcoin/bitcoin/tree/master/contrib/macdeploy
member
Activity: 92
Merit: 10
March 31, 2016, 09:23:11 PM
#9
the .sdk's? if thats it i have those i just need to figure out how to implement them
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
March 31, 2016, 04:19:35 PM
#8
You need to have the earlier OS version libraries.
member
Activity: 92
Merit: 10
March 31, 2016, 11:04:16 AM
#7
just ignore my first question, the person i was doing the wallet for has moved on to an easier source code, but now i have a new question, how do i compile a wallet on 10.11 that will work on 10.6 and up?
hero member
Activity: 521
Merit: 522
Developer - EthicHacker - BTC enthusiast
March 27, 2016, 01:00:31 PM
#6
compiling is one thing but i cannot get it to work on any other macs but my own, if it is a wallet compiled with qt4 i have no problems getting to work on other macs but qt5 and this newer source code is different

because this computers do not have the dependcies installed. You need to deploy the application for release and put/link all libraries in/to the application.

resources:
https://bitcointalksearch.org/topic/m.2151575
https://bitcointalksearch.org/topic/m.2155735
https://bitcointalksearch.org/topic/m.2194628


i know, and i can get it to work that way all day long if it is a wallet based on older source code and compiled with qt4 but if it is code based off of 0.9.x source code i cant get it to work at all

please make gist/pastebin of your error log.
member
Activity: 92
Merit: 10
March 27, 2016, 12:18:26 PM
#5
compiling is one thing but i cannot get it to work on any other macs but my own, if it is a wallet compiled with qt4 i have no problems getting to work on other macs but qt5 and this newer source code is different

because this computers do not have the dependcies installed. You need to deploy the application for release and put/link all libraries in/to the application.

resources:
https://bitcointalksearch.org/topic/m.2151575
https://bitcointalksearch.org/topic/m.2155735
https://bitcointalksearch.org/topic/m.2194628


i know, and i can get it to work that way all day long if it is a wallet based on older source code and compiled with qt4 but if it is code based off of 0.9.x source code i cant get it to work at all
hero member
Activity: 521
Merit: 522
Developer - EthicHacker - BTC enthusiast
March 20, 2016, 04:47:50 PM
#4
compiling is one thing but i cannot get it to work on any other macs but my own, if it is a wallet compiled with qt4 i have no problems getting to work on other macs but qt5 and this newer source code is different

because this computers do not have the dependcies installed. You need to deploy the application for release and put/link all libraries in/to the application.

resources:
https://bitcointalksearch.org/topic/m.2151575
https://bitcointalksearch.org/topic/m.2155735
https://bitcointalksearch.org/topic/m.2194628

member
Activity: 92
Merit: 10
March 19, 2016, 08:22:10 PM
#3
compiling is one thing but i cannot get it to work on any other macs but my own, if it is a wallet compiled with qt4 i have no problems getting to work on other macs but qt5 and this newer source code is different
newbie
Activity: 16
Merit: 0
March 19, 2016, 12:54:05 PM
#2
has anyone successfully compile a wallet on mac using bitcoin source coder version 0.9.4 and got the wallet to work on a system that has never had a wallet on it? if so please reply here or pm me as i am having issues and could use some help/advice thanks

what issues are you having? I compiled it successfully. follow the mac-build instructions. This is what i did.
member
Activity: 92
Merit: 10
March 18, 2016, 11:19:34 PM
#1
has anyone successfully compile a wallet on mac using bitcoin source coder version 0.9.4 and got the wallet to work on a system that has never had a wallet on it? if so please reply here or pm me as i am having issues and could use some help/advice thanks
Pages:
Jump to: