Compiling BTC under win10
Publish: 2021-03-25 15:20:06
1.
-
the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's idea, open source software was designed and released, and P2P network was built on it. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system
Unlike most currencies, bitcoin does not rely on specific currency institutions to issue. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses cryptography design to ensure the security of all aspects of currency circulation. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction. The design based on cryptography can make bitcoin only be transferred or paid by the real owner. This also ensures the anonymity of money ownership and circulation transactions. The biggest difference between bitcoin and other virtual currencies is that the total amount of bitcoin is very limited and it has a strong scarcity
2. The specific methods are as follows:
1. Open win-builds-1.5.0, the first two items can be set by default, and click Browse to select the installation location
2. Choose any installation location, but the installation path should not be in Chinese, and then click OK
3. Click the "process" button in the upper right corner to download GCC
4. Download and installation may take a long time, please wait patiently
5. After installation, click the close button in the upper right corner to close the window.
1. Open win-builds-1.5.0, the first two items can be set by default, and click Browse to select the installation location
2. Choose any installation location, but the installation path should not be in Chinese, and then click OK
3. Click the "process" button in the upper right corner to download GCC
4. Download and installation may take a long time, please wait patiently
5. After installation, click the close button in the upper right corner to close the window.
3. Win10cccd Reader 1) https://jingyan..com/article/ab0b563085d2a8c15afa7da4.html
4. Vs2017 was developed for win10
5. The command has been executed. You can see the generated test file on the desktop.
6. The common C and C + + development environments are:
Microsoft Visual C + +, Microsoft Visual Studio, dev C + +, code:: blocks, Borland C + +, watcom C + +, Borland C + + Builder, GNU DJGPP C + +, lccwin32 C compiler 3.1, high C, Turbo C, GCC, C-free and win TC, my TC and so on. There are too many programming environments because the C and C + + languages are relatively mature. For beginners, it is recommended to use code:: blocks or dev C + + or C-free, because they are powerful, free and the installation package is not big.
Microsoft Visual C + +, Microsoft Visual Studio, dev C + +, code:: blocks, Borland C + +, watcom C + +, Borland C + + Builder, GNU DJGPP C + +, lccwin32 C compiler 3.1, high C, Turbo C, GCC, C-free and win TC, my TC and so on. There are too many programming environments because the C and C + + languages are relatively mature. For beginners, it is recommended to use code:: blocks or dev C + + or C-free, because they are powerful, free and the installation package is not big.
7. 1. Download libpng first http://sourceforge.net/projects/libpng/files/ And libz http://zlib.net/zlib-1.2.7.tar.gz , decompress libpng, such as C: 92; workspace\ libpng\
2. Unzip libz, change the name to zlib and put it in the same level directory of libpng, such as C: 92; workspace\ zlib
3. Enter libpng & # 92; projects\ visualc71\, Open the project file with visual studio, and there will be three subprojects in the scheme: libpng, pngtest and zlib. Direct compilation, no accident in the Win32_ DLL_ Debug directory and Win32_ DLL_ Debug\ Zlib directory to generate zlib1d. DLL, libpng15d. DLL, libpng. Lib and zlib. Lib and other library files
4. If an error is reported, scripts / pnglibconf.h.prebuild to the source directory and change it to pnglibconf. H
for projects that need to use these two libraries, there are three main things to do:
1. C / C + + general - & gt; Add the directory containing PNG. H and other header files in the additional include directory
2. Linker - & gt; Input - & gt; Add zlib.lib to the additional dependency; libpng.lib
3. General properties - & gt; VC + + Directory - & gt; Add zlib. Lib and libpng. Lib to the library directory.
2. Unzip libz, change the name to zlib and put it in the same level directory of libpng, such as C: 92; workspace\ zlib
3. Enter libpng & # 92; projects\ visualc71\, Open the project file with visual studio, and there will be three subprojects in the scheme: libpng, pngtest and zlib. Direct compilation, no accident in the Win32_ DLL_ Debug directory and Win32_ DLL_ Debug\ Zlib directory to generate zlib1d. DLL, libpng15d. DLL, libpng. Lib and zlib. Lib and other library files
4. If an error is reported, scripts / pnglibconf.h.prebuild to the source directory and change it to pnglibconf. H
for projects that need to use these two libraries, there are three main things to do:
1. C / C + + general - & gt; Add the directory containing PNG. H and other header files in the additional include directory
2. Linker - & gt; Input - & gt; Add zlib.lib to the additional dependency; libpng.lib
3. General properties - & gt; VC + + Directory - & gt; Add zlib. Lib and libpng. Lib to the library directory.
8. MinGW can try it.
Hot content