ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 19, 2016, 03:19:34 AM |
|
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
|
|
|
|
tonytumble
Newbie
Offline
Activity: 16
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 19, 2016, 04:54:05 PM |
|
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.
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 20, 2016, 12:22:10 AM Last edit: March 20, 2016, 01:46:50 AM by ironsniper |
|
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
|
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 27, 2016, 04:18:26 PM |
|
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
|
|
|
|
ca333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 27, 2016, 05:00:31 PM |
|
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.
|
this space is available (free) for humanitarian nonprofit organizations - please contact me
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2016, 03:04:16 PM |
|
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?
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2016, 08:19:35 PM |
|
You need to have the earlier OS version libraries.
|
Jonny's Pool - Mine with us and help us grow! Support a pool that supports Bitcoin, not a hardware manufacturer's pockets! No SPV cheats. No empty blocks.
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 01, 2016, 01:23:11 AM |
|
the .sdk's? if thats it i have those i just need to figure out how to implement them
|
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 02, 2016, 02:04:40 AM |
|
so i dont use homebrew or macports i just download all of the source code and compile from there?
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 09, 2016, 11:03:18 PM |
|
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?
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 11, 2016, 02:45:33 PM Last edit: April 12, 2016, 04:10:58 AM by ironsniper |
|
thanks
|
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 03:43:17 PM |
|
250k 1337 to whoever can help me solve this error when trying to compile a wallet to work on older versions of os x 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"
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 05:07:53 PM Last edit: April 13, 2016, 05:41:46 PM by jonnybravo0311 |
|
As I stated to you in PM, the error is that you aren't providing an architecture to the compiler. You need to do something like "-arch native". If you're trying to build for old OS X, you'll probably want to use "-arch i386". Alphacoin? That code hasn't been touched in 3 years. Why are you trying to compile a dead coin wallet? By the way, here's AlphaCoin compiled on OS X 10.11.4: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs16.postimg.org%2Fj6q1nt9w5%2FScreen_Shot_2016_04_13_at_1_37_07_PM.png&t=665&c=8XUzePSxr3TIsA) It needs some help... the icon set is Litecoin... lol
|
Jonny's Pool - Mine with us and help us grow! Support a pool that supports Bitcoin, not a hardware manufacturer's pockets! No SPV cheats. No empty blocks.
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 06:41:27 PM |
|
i know all that and i only use alphacoin as a test, it was the first wallet i compiled as my fiancee needed a copy for windows, but i tried setting that setting and i dont know where else to put it as it is already set in the .pro file edit here it is # use: qmake "RELEASE=1" contains(RELEASE, 1) { # Mac: compile for maximum compatibility (10.5, 32-bit) macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk macx:QMAKE_LFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 06:57:05 PM |
|
Those settings are only applied if you're building the release. You'd have to run qmake RELEASE=1 for it to attempt to apply those settings. What does the Makefile look like - especially the CFLAGS and CXXFLAGS? It is there you'll find the architecture being used. For example, after running qmake USE_QRCODE=1 on my system, my Makefile looks like this: CC = clang CXX = clang++ DEFINES = -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DMAC_OSX -DMSG_NOSIGNAL=0 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W $(DEFINES) CXXFLAGS = -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -fstack-protector -O2 -arch x86_64 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D__NO_SYSTEM_INCLUDES $(DEFINES) ...
Notice the -arch x86_64. Also notice the min OS version: 10.7. Building for earlier versions of OS X requires you to have the proper SDKs installed, or that you build it directly on the older OS that contains the SDKs to which the build refers.
|
Jonny's Pool - Mine with us and help us grow! Support a pool that supports Bitcoin, not a hardware manufacturer's pockets! No SPV cheats. No empty blocks.
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 07:15:01 PM |
|
the error i posted above is what i get when i use RELEASE=1 and i do have the correct sdk's
|
|
|
|
jonnybravo0311
Legendary
Offline
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 07:23:54 PM |
|
Run qmake and post the contents of the Makefile it creates here.
|
Jonny's Pool - Mine with us and help us grow! Support a pool that supports Bitcoin, not a hardware manufacturer's pockets! No SPV cheats. No empty blocks.
|
|
|
ironsniper (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 92
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 13, 2016, 07:32:39 PM |
|
Run qmake and post the contents of the Makefile it creates here.
i have tried other wallets aswell and get the same thing it wont let me paste it here for some reason but here it is on pastebin http://pastebin.com/ZrAW2jsdedit i saw an error in the paste bin and have fixed it manually in the make file and now am getting a new message ld: library not found for -lcrt1.10.6.o
|
|
|
|
|