I tried to compile some smart contracts in truffle 3.0.2 (which works without problems in browser solidity and even older versions of truffle) and got compile errors. So I created a sample truffle project with
and launched truffle compile:
$ truffle compile Compiling ./contracts/ConvertLib.sol... Compiling ./contracts/MetaCoin.sol... Compiling ./contracts/Migrations.sol... Error compiling: Could not find expected contract or library in '/home/ubuntu-user/meta/contracts/MetaCoin.sol': contract or library 'MetaCoin' not found. Compiliation failed. See above.
truffle init just was not updated for the new project structure. Trouble is, I do not know what that structure is supposed to be. I have read the documentation and upgrade guide, but it seems outdated and I was not able to get a clue about the problem. Does anyone have any idea, or maybe an idea for a tool that actually reduces complexity when dealing with smart contracts?