Cpp-ethereum安装 - 简书


Next-generation platform for decentralised applications.





MSBuild error on Building cpp-ethereum

I'm trying to follow the API guide to setup ethminer, but for some reason I keep getting an error when attempting to build the c++ ethereum mining software. The guide I'm trying to follow is: http://www.ethdocs.org/en/latest/ethereum-clients/cpp-ethereum/building-from-source/windows.html
It reads as follows:
C:\Windows\System32\cpp-ethereum\build> cmake -G "Visual Studio 14 2015 Win64" .. CMAKE Error at CMakeLists.txt:44 (project): Failed to run MSBuild command: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe to get the value of VCTargetsPath: Microsoft (R) Build ENgine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1009: Project file does not exist. Switch: VCTargetsPath.vcxproj Exit code: 1 -- Configuring incomplete, errors occurred! See also "C:/Windows/System32/cpp-ethereum/build/CMakeFiles/CMakeOutput.log". 
The afformentioned log only has this:
The system is: Windows - 10.0.15063 - AMD64 
I have VS2015 installed as well as cmake and git, I'm not sure what I'm doing wrong. Does anyone know what I can do to get around this problem? Thanks!
Included in the build directory is a CMakeCache.txt, which seems to hold the settings for the build, and reads as follow:
# This is the CMakeCache file. # For build in directory: c:/Windows/System32/cpp-ethereum/build # It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //Semicolon separated list of supported configuration types, only // supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything // else will be ignored. CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=cpp-ethereum //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Windows/System32/cpp-ethereum/cmake/toolchain.cmake //Path to the root directory for cpp-ethereum CPP_ETHEREUM_DIR:PATH=C:/Windows/System32/cpp-ethereum //The path to the cmake directory ETH_CMAKE_DIR:PATH=C:/Windows/System32/cpp-ethereum/cmake //Value Computed by CMake cpp-ethereum_BINARY_DIR:STATIC=C:/Windows/System32/cpp-ethereum/build //Value Computed by CMake cpp-ethereum_SOURCE_DIR:STATIC=C:/Windows/System32/cpp-ethereum ######################## # INTERNAL cache entries ######################## //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=c:/Windows/System32/cpp-ethereum/build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=9 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Visual Studio 14 2015 Win64 //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=C:/Windows/System32/cpp-ethereum //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.9 
Other than that there really isn't much else... no error logs as far as I can see either
submitted by agalaxyofatoms to EtherMining [link] [comments]

Security fix: cpp-ethereum 1.2.7 released

Security fix: cpp-ethereum 1.2.7 released submitted by chriseth to ethereum [link] [comments]

EthereumJ vs. cpp-ethereum

I'm designing a private Ethereum blockchain. Now, I'm choosing which technology is suitable for the project. My customer has concerns with GPLs licenses and I reach this 2 projects which have MIT license. Does anyone use them? I would like to know your experience with them and recommendations.
submitted by pipaman to ethereum [link] [comments]

Why is cpp-ethereum now calling their projects webthree?

For instance webthree-umbrella (which includes web3.js as a module): https://github.com/ethereum/webthree-umbrella
Or webthree, which provides eth: https://github.com/ethereum/webthree/tree/develop
Or libwebthreecore, which provides C++ Ethereum "stuff": https://github.com/ethereum/libweb3core/tree/develop
If you look at commit histories, it would seem that the original cpp-ethereum repository is being moved to ones titled "webthree".
This is causing immense confusion for some developers as well as for projects that rely on this code. For instance, the correct answer for "Where can I find the most up to date Solidity compiler?" is no longer obvious -- not to mention that the broad changes made to Solidity, for those that receive versions not available in the cpp-ethereum repository, are causing cascading issues.
That said, the name change is confusing. For instance: Is web3 (aka "webthree") more than just the javascript library for interacting with Ethereum? Does "webthree" now include both the Ethereum library as well as the cpp-ethereum client (but not pyethereum, go-ethereum, ethereumjs, etc.)? If so, why? What's the point of merging these names, which to me are very distinct projects, all under the Ethereum umbrella?
Would love your thoughts. Cheers.
Edit: A word. And this edit update.
submitted by therealtimcoulter to ethereum [link] [comments]

Cpp-Ethereum for OSX install help pls!

Could someone that has successfully installed Cpp-Ethereum on OSX with GPU mining please post a step by step of exactly the install path you took.
submitted by usafootballer to ethereum [link] [comments]

Why is cpp-ethereum GPL and pyethereum MIT?

Why is there a difference between the two licenses when they provide the same functionality? I'd be more inclined to use python since it's MIT.
submitted by the_roboticist to ethereum [link] [comments]

Security Alert: cpp-ethereum's unlocking problem not yet fixed in 1.2.6

Security Alert: cpp-ethereum's unlocking problem not yet fixed in 1.2.6 submitted by chriseth to ethereum [link] [comments]

Crashes with cpp-ethereum

Hey, so I've been mining for the past two weeks almost with no problems. I am using cpp-ethereum and I haven't encountered any problems until today. I went ahead and launched cmd, changed the directory so it could find the executable file, and ran the command line to start the process. But after 3 lines, it crashed. Do you know what could possibly be causing this and how to fix it? Thanks for your help Edit: Thanks for trying to help guys but I fixed it. Just had to delete the dag files in Ethash folder
submitted by Antonispaid to ethereum [link] [comments]

Experimental daily dev snapshots of cpp-ethereum for ubuntu xenial

submitted by chriseth to ethereum [link] [comments]

cpp-ethereum v1.2.3 released

We just released cpp-ethereum version 1.2.3. release page.
This change further simplifies the codebase and removes some components of eth which were unstable or not well maintainable. These include:


edit: formatting
submitted by chriseth to ethereum [link] [comments]

All the posts about DDoS were for geth and parity. But about cpp-ethereum?

Was it also affected?
submitted by mWo12 to ethereum [link] [comments]

new version of cpp-ethereum / mix / solidity

We just released version 1.2.4 of cpp-ethereum including version 1.0.3 of mix and version 0.3.2 of solidity.
In this release we mainly focused on the build system and changes not visible to the end-user. The aim is to decouple the various binaries so that they can be built in isolation. For Solidity, some quite important bugs were fixed, so please upgrade.
Important: The Mix binary was renamed to mix-ide in order to avoid name conflicts with elixir's build tool.
eth (1.2.4):
solidity (0.3.2):
mix (1.0.3):
submitted by chriseth to ethereum [link] [comments]

Buffer Overflow Vulnerability in miniupnp. CPP-ethereum affected? (Post from /r/bitcoin)

submitted by throwaway36256 to ethereum [link] [comments]

Security Advisory [eth (cpp-ethereum) potentially vulnerable if running with UPnP enabled]

Security Advisory [eth (cpp-ethereum) potentially vulnerable if running with UPnP enabled] submitted by thehighfiveghost to ethereum [link] [comments]

Cant find extdep in cpp-ethereum folder

Title basically says it all. When I try to cd into it, it says "The system cannot find the path specified."
submitted by Danimann02 to EtherMining [link] [comments]

C++ Ethereum Security Alert (Geth/Mist not affected) - cpp-ethereum keeps accounts unlocked

C++ Ethereum Security Alert (Geth/Mist not affected) - cpp-ethereum keeps accounts unlocked submitted by thehighfiveghost to ethereum [link] [comments]

Why it is impossible to verify contracts compiled with solc from cpp-ethereum (It is the most frequently updated binary version for Windows).

The newest binary version of solc for windows I could find is one available in cpp-ethereum release. I compiled a contract with it (the version of solc is 0.3.5-5f97274a/RelWithDebInfo-Windows/msvc/Interpreter, but this version is not available on Etherscan to verify a contract with :(. Can it be made available? Or is there any other binary version that can be easily downloaded that is on Etherscan?
submitted by flynth to etherscan [link] [comments]

Eth(Embedded) Updated images for Raspberry Pi and other supported boards for recent cpp-ethereum uodate tov1.2.2 now available... Backup your keys and upgrade before Homestead goes live!

submitted by PhonikG to ethereum [link] [comments]

Latest news on the tizen (and ARM in general) porting for both go-ethereum and webthree (formerly cpp-ethereum)

Latest news on the tizen (and ARM in general) porting for both go-ethereum and webthree (formerly cpp-ethereum) submitted by a-cros to ethereum [link] [comments]

Help installing ethereum-cpp

Hey there, trying to install the solidity compiler and get started, but I've been running into issues downloading the dependencies from homebrew. Anyone run into this before?
==> Cloning https://github.com/ethereum/cpp-ethereum.git Updating /Users/ryan/Library/Caches/Homebrew/cpp-ethereum--git ==> Checking out branch develop warning: unable to rmdir deps: Directory not empty ==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/uslocal/Cellacpp-ethereum/1.3.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VER Last 15 lines from /Users/ryan/Library/Logs/Homebrew/cpp-ethereum/01.cmake: -- Check for working CXX compiler: /uslocal/Homebrew/Library/Homebrew/shims/supeclang++ -- Check for working CXX compiler: /uslocal/Homebrew/Library/Homebrew/shims/supeclang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at cmake/EthCompilerSettings.cmake:68 (message): This compiler AppleClang is not able to compile required libff. Install clang 4+ from Homebrew. Call Stack (most recent call first): CMakeLists.txt:94 (include) -- Configuring incomplete, errors occurred! See also "/tmp/cpp-ethereum-20170904-66078-15y3sg0/CMakeFiles/CMakeOutput.log". If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/ethereum/homebrew-ethereum/issues 
submitted by turbopuppy to ethdev [link] [comments]

Ethereum code optimized for some nvidian cards davilizhdavilizh Posts: 1Member ✭

The code is optimized for GTX1060, can improve GTX1060 with 2 GPC performance by 15%, and GTX1060 with 1 GPC performance by more than 30%. Meanwhile, it also increases performance on GTX1070 by 3%, on Telsla M60 by 2%, and should also benefit other chips.
When executing the code, please do remember to add "-U" to your argument. Two locations to download the code:
  1. https://github.com/Genoil/cpp-ethereum/pull/228
  2. https://github.com/ethereum-mining/ethminepull/18
  3. Windows exe download: https://ci.appveyor.com/project/ethereum-mining/ethminebuild/93/job/ss7k95dsy1kly4vl/artifacts
If you have any concerns about the code, don't hesitate to comment or send email to me.
Some detailed information about the optimization:
  1. ethash_cuda_miner_kernel.cu I have commented out "launch_bounds" in the code. launch_bound is discussed in http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#axzz4fzSzZc9p in detail.
  2. dagger_shuffle.cuh 1) We moved around and reduced variable definitions to the minimum required. The compiler should have been able to do this analysis, but it never hurts to help out the compiler. The state in compute_hash of dagger_shuffle.cuh is modified. 2) We simplify the nested if/else blocks into a switch statement. 3) We simplify control flow. Remove the conditional from the inner loop so all threads calculate the value, and then all threads use a __shfl to read thread t's value (throwing away the rest of the threads' calculated value). 4) We increase the total number of LDGs to increase occupancy. We define PARALLEL_HASH to let each warp have PARALLEL_HASH LDGs in-flight at a time, not 1 at a time, which is the original case.
  3. keccak.cuh Since the input argument uint2 *s is changed in dagger_shuffle.cuh, we have to modify keccak_f1600_init and keccak_f1600_final in keccak.cuh accordingly.
submitted by davilizh to EtherMining [link] [comments]

Metropolis and Other Updates from Today's Core Dev Meeting [8/25/17]

Thanks to everyone who joined in the live stream. Here are some notes from today's meeting.

Reminder: Metropolis is now split into 2 hard forks: "Byzantium" first and then "Constantinople".

Ice Age Updates

Block times:

EIP 649 Discussion

EIP 649: Metropolis Difficulty Bomb Delay and Issuance Reductio discussion.

Metropolis Testing

Launching the First Part of Metropolis: Byzantium (starts at 56:36)

Clients represented in the meeting

The meeting agenda can be found here and a video of the meeting is here.
submitted by Souptacular to ethereum [link] [comments]

Ethereum Clients - Part 1 How to mine Ethereum ETH on any pool How to Mine Ethereum on your Gaming Rig How to Build Ethereum Dapp (Decentralized Application ... How to mine Ethereum Classic ETC on pool

Aleth – Ethereum C++ client, tools and libraries. The collection of C++ libraries and tools for Ethereum, formerly known as cpp-ethereum project. This includes the full Ethereum client aleth. Contact. Chat in aleth channel on Gitter. Report bugs, issues or feature requests using GitHub issues. Usage Our previous guides regarding mining and using Ethereum’s Ether (ETH) coins were based on the Go Ethereum implementation as we find it easier to be used than the C++ implementation of the Ethereum client even though we are actually using ethminer for the actual mining which is a part of cpp-ethereum and not go-ethereum package.The Go Ethereum implementation (geth) only comes with built in ... ethereum.org is here to help you build with Ethereum with documentation on foundational concepts as well as the development stack. Plus there are tutorials to get you up and running. Inspired by the Mozilla Developer Network , we thought Ethereum needed a place to house great developer content and resources. cpp-ethereum - Ethereum C++ client. This repository contains cpp-ethereum, the Ethereum C++ client.. It is the third most popular of the Ethereum clients, behind geth (the go client) and Parity (the rust client). The code is exceptionally portable and has been used successfully on a very broad range of operating systems and hardware. We are in the process of re-licensing the codebase from the ... Cpp-ethereum安装. 主要记录了c++版本的ethereum在linux环境下的安装,官方的依赖库安装脚本没有CentOS环境下的;在此手动的安装了依赖环境,并在其脚本install_deps.sh添加centos的支持;详细步骤如下:

[index] [4394] [5191] [978] [5136] [7029] [6704] [6544] [1747] [2171] [6223]

Ethereum Clients - Part 1

Ethereum clients allow you to setup an Ethereum node on your computer. An Ethereum client is like a Java Virtual Machine (JVM) and allows you to run Ethereum programs. With an Ethereum client, you ... In this video I walk through how to setup your gaming rig (or really any PC with a decent dedicated GPU) to mine Ether, the token for the Ethereum cryptocurrency. ♦ The Pool I use: https ... What is A Blockchain Dapp? You'll receive $10 in free bitcoin by signing up with this link http://bit.ly/2oesV41 Bitcoin & Etherum Storage Wallet: http://bit... 🤑Learn how to become a highly paid blockchain dev: http://www.dappuniversity.com/bootcamp 🔴Subscribe to this channel: https://www.youtube.com/channel/UCY0xL8... How to mine Ethereum (ETH) on any pool Explained in details how to mine Ethereum (ETH) coin on any pool. Useful Links: Ethereum Website: https://ethereum.org...