It looks like you're new here. If you want to get involved, click one of these buttons!
I:\Windows\system32>cinst -pre solC-stable Chocolatey v0.9.9.8 Installing the following packages: solC-stable By installing you accept licenses for the packages. solC-stable not installed. The package was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the pac kage name exists but the version does not. Version: "" Source(s): "https://chocolatey.org/api/v2/" Chocolatey installed 0/1 package(s). 1 package(s) failed. See the log for details (G:\Installed\Chocolatey\logs\chocolatey.log). Failures: - solC-stableInstructions also say that it should come with GETH but when I use "eth.getCompilers()" I get empty string instead of ['Solidity'].
Comments
Also every time I connect to Private Network I have to reconnect GETH with SOLC using or else I get [""]
Add this to your geth startup command you list above but make sure you set your path properly
https://build.ethdev.com/builds/Windows C++ master branch/Ethereum-win64-latest.exe
Then in isntallation directory you will see that you have solc.exe in directory
I:\Installed\Programming\Ethereum 0.9.41\Release
Then you link GETH to SOLC either through GETH command line
geth --datadir G:\Temp\Ethereum\datadir --solc "I:/Installed/Programming/Ethereum 0.9.41/Release/solc.exe" 2>> G:\Temp\Ethereum\my.log console
or in GETH console
> admin.setSolc("I:/Installed/Programming/Ethereum 0.9.41/Release/solc.exe");
> admin.setSolc("C:/Ethereum/Ethereum 0.9.41/Release/solc.exe")
I0112 20:30:57.976736 9576 solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.1.1-ed7a8a35/Release-Windows/msvc/JIT
When I run eth.getCompilers() I still only get:
["Solididty"]
which is what I get before running the admin.setSolc command.
When I try to compile the greeterSource per the example I get the error:
solc: no build results found
at InvalidResponse (:-81662:-63)
at send (:-156322:-63)
at solidity (:-133322:-63)
at :1:23
Has anyone seen this error? Shouldn't I get something different the ["Solididty"] when I list the compilers?
Cheers!
I do get
"solc, the solidity compiler commandline interface\r\nCersion: 0.1.1-cb61d09d/Release-Windows/msvc/JIT\R\n\npath: C:\\Ethereum 0.9.41\\Release\\solc.exe" in green then just updates blocks.
solc: no build results found
at InvalidResponse (:-81662:-63)
at send (:-156322:-63)
at solidity (:-133322:-63)
at :1:23
Please let me know how to resolve this issue.