At present, any study of EOS related technology from Https://github.com/EOSIO/eos, may be in the process of building the EOS development environment, will be very confused, online data are very messy, they can not understand the clue, do not know how to start. Here, Brother Chun will be a step by step for you to uncover layers of veil. 1. Hardware Software Environment
Because there are too many versions of EOS, you need to know how to view the relevant data for the EOS version first.
Open the EOS GitHub official website Https://github.com/EOSIO/eos, as shown in the following figure, click Master, and then click on tag, and you will see different versions and their corresponding documents.
I have installed various versions of my computer, stepped on a variety of inexplicable pits, this article I will be the following configuration for you to share. Operating system
EOS version
2. Compile Settings development environment 2.1 get EOS Source and all its sub modules
$ git clone Https://github.com/eosio/eos--recursive
If the code is cloned without the--recursive parameter, you can switch to the project path to perform the following command to update the child module.
$ git submodule update--init--recursive
2.2 Compiling the source code to generate the executable file
Switch to the above project root directory, and execute the following command.
Liyuechun:eos yuechunli$./eosio_build.sh Darwin Full
Liyuechun:eos yuechunli$ ls CMakeLists.txt debian ring.dot cmakemodules docs ring.png Docker eos-logo.png scripts Doxyfile eos.doxygen.in star.dot HEADER eosio_build.sh star.png jenkinsfile externals testnet-diagrams.sh. TXT libraries testnet.md readme.md mesh.dot testnet.template build mesh.png tests CIRCLE.YML plugins tools Contr Acts programs Liyuechun:eos yuechunli$./eosio_build.sh Darwin Full beginning build version:1.2 April 12, 2018 Thursday 07 O'Clock 44 06 seconds UTC git head id:96ee0325cc925ff3e90f865ebc72b01341196e08 Current branch: * Master Architecture:darwin OS Name : Darwin OS version:10.13.3 CPU Speed:250.00ghz CPU cores:4 physical memory:16 gbytes Disk space total:465g Dis
K Space available:133g ...
Long wait, half an hour or so, network bad words, 40-50 minutes. [100%] Linking CXX executable chain_test Ld:warning:PIE disabled. Absolute Addressing (perhaps-mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 Cal/lib/libgmp.a(DIVE_1.O). To the fix this warning, don ' t compile with-mdynamic-no-pic or link with-wl,-no_pie [100%] Built target chain_test _____ __ _______ _______ _________ _______
( ____ \( ___ )( ____ \\__ __/( ___ )
| ( \/| ( ) || ( \/ ) ( |
( ) | | (__ | | | || (_____ | | | |
| | | __) | | | | (_____ ) | | | |
| | | ( | | | | ) | | | | |
| | | (____/\| (___) |/\____) |___) (___|
(___) | (_______/) \_______) \_______/(___) EOS. IO has been successfully built. 0:11:48 to verify your installation run following commands:/usr/local/bin/mongod-f/usr/local/etc/mongod.conf
mp Cd/users/liyuechun/eos/build; Make test for the more Information:eos. IO Website:https://eos.io Eos. IO Telegram Channel @ https://t.me/EOSProject EOS. IO Resources:https://eos.io/resources/eos.
IO Wiki:https://github.com/eosio/eos/wiki
Executable program included with EOS:
Liyuechun:programs yuechunli$ pwd
/users/liyuechun/desktop/0402/eos/build/programs
liyuechun:programs Yuechunli