regtable69
|
|
May 30, 2014, 06:13:35 PM |
|
error in your wording!! also make sure that mysys-gcc and mysys-w32api ARE installed. not not installed otherwise gcc - v errors out
Using mingw included toolchain will not work so you should make sure not to install it. if anyone knows of a good linux tut could you post it please.
Gitian is the easiest way to cross compile it on linux. You can see what is going on behind the scenes by having a look at gitian descriptors: https://github.com/bitcoin/bitcoin/tree/master/contrib/gitian-descriptorsthanks but believe it or not i ran gitian on my ubuntu 14.10 and well was never able to boot again. windows or ubuntu seems gitian killed it. im trying to use your way and getting stuck everywhere lol. maybe thats why. but when i click the mysys packages leave anything it decides it needs eg mysys auto conf and any dependancys as it picks 5 more things. as if i deselect them i end up with no mysys/1.0/mysys.bat thingy
|
|
|
|
horstman
Newbie
Offline
Activity: 59
Merit: 0
|
|
June 01, 2014, 09:12:55 AM |
|
Hi, i was able to compile the latest Bitcoin source release. Now i am trying to compile the latest litecoin version,but there seems to be sth different. After running the "sh ../dist/configure --enable-mingw --enable-cxx" command, i am gettint that error msg. https://i.imgur.com/SK1T2cN.jpgAny idea what i am doing wrong?
|
|
|
|
regtable69
|
|
June 01, 2014, 12:07:25 PM Last edit: June 01, 2014, 06:52:08 PM by regtable69 |
|
i got one step further today without an error now i get this lmao. only thing i think it could be is because the packages that error are tar files and id used winzip to unpack the zip file inside the tar file and not done as per the previous and used the mysys shell to unzip tar files first. edit solved. it was because id unzipped using winzip and not tar lol schoolboy error
|
|
|
|
horstman
Newbie
Offline
Activity: 59
Merit: 0
|
|
June 01, 2014, 09:36:09 PM |
|
Hi, i was able to compile the latest Bitcoin source release. Now i am trying to compile the latest litecoin version,but there seems to be sth different. After running the "sh ../dist/configure --enable-mingw --enable-cxx" command, i am gettint that error msg. https://i.imgur.com/SK1T2cN.jpgAny idea what i am doing wrong? Anyone who could assist me please?
|
|
|
|
|
horstman
Newbie
Offline
Activity: 59
Merit: 0
|
|
June 01, 2014, 10:02:50 PM |
|
I am trying this: https://github.com/litecoin-project/litecoin/blob/master-0.8/doc/build-msw.mdDo you think it should be working the the exact same commands like for the Bitcoinwallet, even it's saying to use some other commands on the litecoin github page? I am running Windows 7 32bit in an oracle virtual machine. If i am running with the same commands, but with the version required by the litecoin github, i am getting an error @ compileing the litecoin wallet. From the litecoin: Boost
MSYS shell:
downloaded boost jam 3.1.18 cd \boost-1.50.0-mgw bjam toolset=gcc --build-type=complete stage
How am i supposed to do the "downloaded boost jam 3.1.18"? Where do i put them? Many questions, but it would be nice if i could get it working. Trying for several days now. Thanks for your reply anyway YarkoL =)
|
|
|
|
regtable69
|
|
June 02, 2014, 01:57:32 AM |
|
I am trying this: https://github.com/litecoin-project/litecoin/blob/master-0.8/doc/build-msw.mdDo you think it should be working the the exact same commands like for the Bitcoinwallet, even it's saying to use some other commands on the litecoin github page? I am running Windows 7 32bit in an oracle virtual machine. If i am running with the same commands, but with the version required by the litecoin github, i am getting an error @ compileing the litecoin wallet. From the litecoin: Boost
MSYS shell:
downloaded boost jam 3.1.18 cd \boost-1.50.0-mgw bjam toolset=gcc --build-type=complete stage
How am i supposed to do the "downloaded boost jam 3.1.18"? Where do i put them? Many questions, but it would be nice if i could get it working. Trying for several days now. Thanks for your reply anyway YarkoL =) any boost files go in the deps folder i thinks but i too am having issues atm with boost lol
|
|
|
|
nitrogenetics (OP)
|
|
June 02, 2014, 03:46:07 PM |
|
Hi,
i was able to compile the latest Bitcoin source release.
Now i am trying to compile the latest litecoin version,but there seems to be sth different.
After running the "sh ../dist/configure --enable-mingw --enable-cxx" command, i am gettint that error msg.
Any idea what i am doing wrong?
Anyone who could assist me please? Did you try configuring with --disable-replication ? (see first post) How am i supposed to do the "downloaded boost jam 3.1.18"? Where do i put them?
You don't need to download jam to build boost, just run bootsrap then b2. (See first post)
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
regtable69
|
|
June 03, 2014, 08:46:30 AM |
|
Hi,
i was able to compile the latest Bitcoin source release.
Now i am trying to compile the latest litecoin version,but there seems to be sth different.
After running the "sh ../dist/configure --enable-mingw --enable-cxx" command, i am gettint that error msg.
Any idea what i am doing wrong?
Anyone who could assist me please? Did you try configuring with --disable-replication ? (see first post) How am i supposed to do the "downloaded boost jam 3.1.18"? Where do i put them?
You don't need to download jam to build boost, just run bootsrap then b2. (See first post) Make sure to bootstrap from command prompt with administrative privilages. Right click cmd and click admin or you will get stuck. Iv managed to compile using the 4.8.5 method and the 5.1.2 qt versions but neither will sync up with my daemon node i am running on a linux machine on my home network i.e limited closed test. It worked before linux to linux but now dosent want to work. Iv set my public ip as an addnode and opened up the two ports the coin uses but for the life of me cant seem to get it to sync. Was wondering if maybe different qt versions or something else may be causing issues. Il attempt to strip back and start a fresh in the mean time. Thanks for the guide nitrogenics it works eventually. May i suggest that the point at which you download the tar files and say to unpack you explain that they need to be unpacked from mysis using the tar command. Unless you wrote that already and i didnt quite get it lol. Good guide many headaches but iv learned from it!
|
|
|
|
BigWait
|
|
June 03, 2014, 12:28:53 PM |
|
Hey. Can any one help me? When I do step [2.7 Qt 5 libraries] at the end CMD said: what happen .. And Want to know C:\Qt\qttools-opensource-src-5.2.1 Qttools is what.. I google it .but have nothing ... is It Qt-everywhere-opensource-src-5.2.1?? Or Qt-win-opensource-src-5.2.1?? Thanks everyone .. Need help// News:..I download the wrong things..
|
|
|
|
horstman
Newbie
Offline
Activity: 59
Merit: 0
|
|
June 03, 2014, 07:34:51 PM |
|
Hi,
i was able to compile the latest Bitcoin source release.
Now i am trying to compile the latest litecoin version,but there seems to be sth different.
After running the "sh ../dist/configure --enable-mingw --enable-cxx" command, i am gettint that error msg.
Any idea what i am doing wrong?
Anyone who could assist me please? Did you try configuring with --disable-replication ? (see first post) How am i supposed to do the "downloaded boost jam 3.1.18"? Where do i put them?
You don't need to download jam to build boost, just run bootsrap then b2. (See first post) Make sure to bootstrap from command prompt with administrative privilages. Right click cmd and click admin or you will get stuck. Iv managed to compile using the 4.8.5 method and the 5.1.2 qt versions but neither will sync up with my daemon node i am running on a linux machine on my home network i.e limited closed test. It worked before linux to linux but now dosent want to work. Iv set my public ip as an addnode and opened up the two ports the coin uses but for the life of me cant seem to get it to sync. Was wondering if maybe different qt versions or something else may be causing issues. Il attempt to strip back and start a fresh in the mean time. Thanks for the guide nitrogenics it works eventually. May i suggest that the point at which you download the tar files and say to unpack you explain that they need to be unpacked from mysis using the tar command. Unless you wrote that already and i didnt quite get it lol. Good guide many headaches but iv learned from it! Did you also try to compile the litecoin wallet? I think i nearly got the environment, but when i am trying to run the mingw32-make -f makefile.mingw i am getting this error: https://i.imgur.com/pv3zcHO.jpgAny ideas of what i am doing wrong? Should i use the exactly same commands from the realy good written Bitcoin tutorial, with the versions of the provided litecoin github, or do i have to use the litecoin commands? Thank you for your assistance so far =)=)
|
|
|
|
jiuge
|
|
June 03, 2014, 07:49:56 PM |
|
I follow the instruction,and everything goes well ,I compiled the bitcoin 0.9.1 on windows,my computer is win8.And I got the output like this: c:\mingw32\bin\ar.exe: creating libleveldb.a make[5]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src/leveldb' make[4]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' CXXLD bitcoind.exe CXX bitcoin-cli.o CXXLD bitcoin-cli.exe make[3]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[2]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Entering directory `/e/Develop/Bitcoins/bitcoin-0.9.1' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1' When I check the bitcoin-qt,it doesnt exist.Anyone know why it happened?
|
|
|
|
| ░░░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░████████░░░░░░░░░░░░░░░░░░░░░█████████░░░░░███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░████████░ ░░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░█████████░░░░░░██████████████████████░░░░░░░░░░░░░░░░░░░░░████████░░ ░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░████████░░░░░░░░░░░░░░░░░█████████░░░░░░░███████████████████████░░░░░░░░░░░░░░░░░░░████████░░░ ░█████░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░████████░░░░░░░░░░░░░░░█████████░░░░░░░░███████░░░░░░░░░░██████░░░░░░░░░░░░░░░░░░████████░░░░ ░█████░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░████████░░░░░░░░░░░░░█████████░░░░░░░░░███████░░░░░░░░░░███████░░░░░░░░░░░░░░░░████████░░░░░ ░█████░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░████████░░░░░░░░░░░█████████░░░░░░░░░░███████░░░░░░░░░░███████░░░░░░░░░░░░░░░████████░░░░░░ ░░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░████████░░░░░░░░░█████████░░░░░░░░░░░████████████████████████░░░░░░░░░░░░░░████████░░░░░░░ ░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░████████░░░░░░░█████████░░░░░░░░░░░░███████████████████████░░░░░░░░░░░░░░████████░░░░░░░░ ░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░████████░░░░░█████████░░░░░░░░░░░░░████████████████████░░░░░░░░░░░░░░░░████████░░░░░░░░░ ░█████░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░████████░░░█████████░░░░░░░░░░░░░░███████░░░░█████████░░░░░░░░░░░░░░░████████░░░░░░░░░░ ░█████░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░████████░█████████░░░░░░░░░░░░░░░███████░░░░░█████████░░░░░░░░░░░░░████████░░░░░░░░░░░ ░█████░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░████████████████░░░░░░░░░░░░░░░░███████░░░░░░░████████░░░░░░░░░░░████████░░░░░░░░░░░░ ░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████████░░░░░░░░░░░░░░░░░███████░░░░░░░░█████████░░░░░░░░████████░░░░░░░░░░░░░ ░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░████████████░░░░░░░░░░░░░░░░░░███████░░░░░░░░░░████████░░░░░░████████░░░░░░░░░░░░░░ ░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████░░░░░░░░░░░░░░░░░░░███████░░░░░░░░░░░█████████░░░████████░░░░░░░░░░░░░░░
| |
|
|
|
DogeHitman
Newbie
Offline
Activity: 11
Merit: 0
|
|
June 04, 2014, 08:43:39 AM |
|
I follow the instruction,and everything goes well ,I compiled the bitcoin 0.9.1 on windows,my computer is win8.And I got the output like this: c:\mingw32\bin\ar.exe: creating libleveldb.a make[5]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src/leveldb' make[4]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' CXXLD bitcoind.exe CXX bitcoin-cli.o CXXLD bitcoin-cli.exe make[3]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[2]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Entering directory `/e/Develop/Bitcoins/bitcoin-0.9.1' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1' When I check the bitcoin-qt,it doesnt exist.Anyone know why it happened? Same thing happened to me it doesn't make any bitcoin-qt.exe in /src/qt
|
|
|
|
regtable69
|
|
June 04, 2014, 01:09:53 PM |
|
It goes in the file "release" found in main folder of coin before src. Have a look in th build folder too. If that is there and full delete the build file and any makefiles in with the bitcoinqt.pro just keep folders then attempt a make again. I would give screenshots of which files but my mobo fried. G.l. i jus now need to figure how they connect to each other lol.
|
|
|
|
jiuge
|
|
June 04, 2014, 02:00:03 PM |
|
I follow the instruction,and everything goes well ,I compiled the bitcoin 0.9.1 on windows,my computer is win8.And I got the output like this: c:\mingw32\bin\ar.exe: creating libleveldb.a make[5]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src/leveldb' make[4]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' CXXLD bitcoind.exe CXX bitcoin-cli.o CXXLD bitcoin-cli.exe make[3]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[2]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1/src' make[1]: Entering directory `/e/Develop/Bitcoins/bitcoin-0.9.1' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/e/Develop/Bitcoins/bitcoin-0.9.1' When I check the bitcoin-qt,it doesnt exist.Anyone know why it happened? Same thing happened to me it doesn't make any bitcoin-qt.exe in /src/qt Finally I make a qt client.Great guideline. And if you can not get qt client I think there are something wrong with your former steps.
|
|
|
|
| ░░░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░████████░░░░░░░░░░░░░░░░░░░░░█████████░░░░░███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░████████░ ░░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░█████████░░░░░░██████████████████████░░░░░░░░░░░░░░░░░░░░░████████░░ ░░░░░░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░████████░░░░░░░░░░░░░░░░░█████████░░░░░░░███████████████████████░░░░░░░░░░░░░░░░░░░████████░░░ ░█████░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░████████░░░░░░░░░░░░░░░█████████░░░░░░░░███████░░░░░░░░░░██████░░░░░░░░░░░░░░░░░░████████░░░░ ░█████░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░████████░░░░░░░░░░░░░█████████░░░░░░░░░███████░░░░░░░░░░███████░░░░░░░░░░░░░░░░████████░░░░░ ░█████░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░████████░░░░░░░░░░░█████████░░░░░░░░░░███████░░░░░░░░░░███████░░░░░░░░░░░░░░░████████░░░░░░ ░░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░████████░░░░░░░░░█████████░░░░░░░░░░░████████████████████████░░░░░░░░░░░░░░████████░░░░░░░ ░░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░████████░░░░░░░█████████░░░░░░░░░░░░███████████████████████░░░░░░░░░░░░░░████████░░░░░░░░ ░░░░░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░████████░░░░░█████████░░░░░░░░░░░░░████████████████████░░░░░░░░░░░░░░░░████████░░░░░░░░░ ░█████░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░████████░░░█████████░░░░░░░░░░░░░░███████░░░░█████████░░░░░░░░░░░░░░░████████░░░░░░░░░░ ░█████░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░████████░█████████░░░░░░░░░░░░░░░███████░░░░░█████████░░░░░░░░░░░░░████████░░░░░░░░░░░ ░█████░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░████████████████░░░░░░░░░░░░░░░░███████░░░░░░░████████░░░░░░░░░░░████████░░░░░░░░░░░░ ░░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████████░░░░░░░░░░░░░░░░░███████░░░░░░░░█████████░░░░░░░░████████░░░░░░░░░░░░░ ░░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░████████████░░░░░░░░░░░░░░░░░░███████░░░░░░░░░░████████░░░░░░████████░░░░░░░░░░░░░░ ░░░░░░░████████░░░░░████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██████████░░░░░░░░░░░░░░░░░░░███████░░░░░░░░░░░█████████░░░████████░░░░░░░░░░░░░░░
| |
|
|
|
DogeHitman
Newbie
Offline
Activity: 11
Merit: 0
|
|
June 04, 2014, 06:49:09 PM Last edit: June 04, 2014, 08:26:30 PM by DogeHitman |
|
It goes in the file "release" found in main folder of coin before src. Have a look in th build folder too. If that is there and full delete the build file and any makefiles in with the bitcoinqt.pro just keep folders then attempt a make again. I would give screenshots of which files but my mobo fried. G.l. i jus now need to figure how they connect to each other lol.
It seems for me it's missing a plugin library for Qt, so it can't build the bitcoin-qt.exe. libqtaccessiblewidgets.a is located in 5.2.1/plugins/accessible but when I configure the build it can't find it for some reason. Any ideas...? checking for static Qt... yes checking for static Qt plugins: -lqtaccessiblewidgets... no configure: WARNING: Could not resolve: -lqtaccessiblewidgets; bitcoin-qt frontend will not be built checking for static Qt plugins: -lqwindows... no checking whether to build Bitcoin Core GUI... no (Qt5) checking if ccache should be used... no
|
|
|
|
nitrogenetics (OP)
|
|
June 04, 2014, 09:38:18 PM |
|
Did you set --with-qt-plugindir when configuring?
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
DogeHitman
Newbie
Offline
Activity: 11
Merit: 0
|
|
June 04, 2014, 10:54:34 PM |
|
Did you set --with-qt-plugindir when configuring?
Yes I just followed the same directories as the guide in C:/Qt/5.2.1/plugins. It recognizes the base Qt files in C:/Qt/5.2.1/bin but for some reason has trouble linking the plugins.
|
|
|
|
Delivereath
|
|
June 06, 2014, 08:45:20 AM |
|
My question is not specific to building a wallet but it is related to the system.
What does prevent someone to build its own wallet with modified difficulty or block reward ? There are some coins with random block reward. If I modify the source and set a fixed block reward corresponding to the max of random reward, would my blocks be accepted by the network ?
|
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
June 06, 2014, 09:34:54 AM |
|
What does prevent someone to build its own wallet with modified difficulty or block reward ? There are some coins with random block reward. If I modify the source and set a fixed block reward corresponding to the max of random reward, would my blocks be accepted by the network ?
Depends on how the original dev has implemented the block reward. Typically the client only checks that the value of coinbase transaction does not exceed the subsidy at that height. So I think it would be hard (but sort of interesting) to perform a check that the reward has indeed been generated randomly... And I think there is nothing stopping you if you want to make difficulty harder for yourself than the rest of the network, but the opposite won't work.
|
“God does not play dice"
|
|
|
|