Pages:
Author

Topic: Building headless Bitcoin and Bitcoin-qt on Windows - page 27. (Read 419389 times)

sr. member
Activity: 260
Merit: 251
So, i am still stuck on trying to compile the Litecoinwallet.

Could someone please tell me, if the provided steps on this guide are the same we should use for litecoin? Should we just download the required version of boost etc. for litecoin?
That would seem like a reasonable test plan, and see if the results are different. 

As a partial answer in another direction, see
https://bitcointalksearch.org/topic/m.7186738
which is to say that you might consider building your Windows version using MSVS.

Ron
newbie
Activity: 59
Merit: 0
So, i am still stuck on trying to compile the Litecoinwallet.

Could someone please tell me, if the provided steps on this guide are the same we should use for litecoin? Should we just download the required version of boost etc. for litecoin?
full member
Activity: 148
Merit: 100
I've checked how the random block reward coins work and they all use the previous block hash as seed for the random generator. This means that the reward is not really random and it can be calculated and verified by the network. So if someone changes a random reward to a fixed one, it should be refused by the network.
legendary
Activity: 996
Merit: 1013

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.
full member
Activity: 148
Merit: 100
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 ?
newbie
Activity: 11
Merit: 0
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.
full member
Activity: 131
Merit: 108
Did you set --with-qt-plugindir when configuring?
newbie
Activity: 11
Merit: 0
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...?

Code:
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
sr. member
Activity: 280
Merit: 250
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? Cry

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. Smiley
hero member
Activity: 588
Merit: 500
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.
newbie
Activity: 11
Merit: 0
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? Cry

Same thing happened to me it doesn't make any bitcoin-qt.exe in /src/qt
sr. member
Activity: 280
Merit: 250
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? Cry
newbie
Activity: 59
Merit: 0
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? Smiley


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
Quote
mingw32-make -f makefile.mingw
i am getting this error:
http://i.imgur.com/pv3zcHO.jpg

Any 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 =)=)
hero member
Activity: 506
Merit: 510
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..
hero member
Activity: 588
Merit: 500
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? Smiley


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!
full member
Activity: 131
Merit: 108
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? Smiley


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)
hero member
Activity: 588
Merit: 500

Anyone who could assist me please? Smiley


This looks pretty similar
http://stackoverflow.com/questions/21950412/error-when-building-berkley-db-4-8-30

Are you using some other build instructions?

I am trying this:
https://github.com/litecoin-project/litecoin/blob/master-0.8/doc/build-msw.md

Do 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:
Quote
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
newbie
Activity: 59
Merit: 0

Anyone who could assist me please? Smiley


This looks pretty similar
http://stackoverflow.com/questions/21950412/error-when-building-berkley-db-4-8-30

Are you using some other build instructions?

I am trying this:
https://github.com/litecoin-project/litecoin/blob/master-0.8/doc/build-msw.md

Do 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:
Quote
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 =)
legendary
Activity: 996
Merit: 1013

Anyone who could assist me please? Smiley


This looks pretty similar
http://stackoverflow.com/questions/21950412/error-when-building-berkley-db-4-8-30

Are you using some other build instructions?
newbie
Activity: 59
Merit: 0
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.

http://i.imgur.com/SK1T2cN.jpg

Any idea what i am doing wrong?

Anyone who could assist me please? Smiley
Pages:
Jump to: