Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [solc]

Questions related to the compiler for Solidity: solc

Filter by
Sorted by
Tagged with
3
votes
3answers
4k views

populus OSError: [Errno 2] No such file or directory

When trying: $populus compile Get: OSError: [Errno 2] No such file or directory Tried: Tried to install missing dependencies as described here and installed solidity compiler as well - same ...
4
votes
2answers
748 views

Contract not deploying on blockchain using solc & web3

I am using the npm package of solc to compile the contracts and accessing it as given here. It is compiling my contracts. But when I try to deploy the contract using web3.eth.sendTransaction({data: ...
5
votes
1answer
464 views

Solidity compiler doesn't work in the Javascript Console

I'm using Geth 1.4.5-stable along with Solc version 0.3.5-0 both on Linux. It is run on a Digital Ocean server. I have a fully synced testnet chain and I'm trying to compile contracts from within the ...
2
votes
1answer
229 views

Is there any specific reason for web3.js to not compile contracts directly from file?

web3.eth.compile.solidity ask for a string as a parameter. Not only, it must be a string without line breaks: in the official greeter tutorial to use an online-tool to remove line breaks from ...
3
votes
1answer
889 views

How do I deploy a contract complied with solc?

I am trying to deploy a contract that I have compiled with solc using solc --bin mycontract.sol. I used to be able to paste the result into Ethereum-Wallet and deploy the contract this way. However, ...
9
votes
1answer
2k views

Link solc with geth problem

After upgrading to geth 1.4.4 I am no longer able to from to reference the compiler from geth. The solc compiler is installed in /usr/local/bin but this is what I get when I check for available ...
4
votes
3answers
4k views

Installing solidity in Debian Linux

I'm trying to install solidity but apparently there are no online repositories with all dependencies. I have tried using the methods described here. sudo add-apt-repository ppa:ethereum/ethereum ...
7
votes
2answers
1k views

All cases when Solidity compiles to invalid jump destination

Solidity generates EVM bytecode that leads to an invalid jump destination when: throw is used ... ? ... ? Can the above list be completed, with examples? To explain the first item, throw in ...
3
votes
1answer
178 views

Backslashes being removed and unable to set Solc in windows 10

I've installed Geth on win 10 and I'm trying to link solc but I'm not sure why the backslashes are being removed? How can I get past this error? > admin.setSolc("C:\Program Files\Ethereum\solc") ...
10
votes
3answers
4k views

Internal compiler error: Accessors for mapping with dynamically-sized keys not yet implemented

I have a mapping(string => Person) public map: struct Person { string name; string description; address primaryAddress; string linkToWebsite; string ...
21
votes
2answers
7k views

How do I find out the solidity compiler version I am using?

Specifically, while using Mist. When I create a contract via the Mist GUI, I want to then be able to verify the source code over at Etherscan. However, Etherscan requires that you provide the ...
5
votes
1answer
3k views

How do I host Ethereum on a server?

I recently tried to get geth and solidity up and running on a virtual server I have some free time on. I got stuck trying to build the Solidity compiler due to issues with the OpenGL library. I've ...
6
votes
1answer
374 views

Getting segmentation fault while compiling solidity contract

Getting segmentation fault when compiling a simple contract on geth on OSX Yosemite web3.eth.getCompilers(); ["Solidity"] source = "contract test { function multiply(uint a) returns(uint d) { return ...
1
vote
1answer
611 views

How to rebuild solc on Mac OSX?

I need to rebuild solc on OSX. I followed http://solidity.readthedocs.org/en/latest/installing-solidity.html but old version still in place with solc --version. Is there a process to remove existing ...
4
votes
1answer
2k views

Enums in Solidity

Enum's are not working in solc? Just tried to compile demo contract from gihub documentation : contract test { enum ActionChoices { GoLeft, GoRight, GoStraight, SitStill }; function test() { ...
3
votes
1answer
812 views

Getting a solc error: uint176 - Identifier not found or not unique

I'm working on an "Infosphere" contract, an arbitrary key/value store any individual or contract can use. You can take a look at it here: https://github.com/SafeMarket/dapp/blob/...