compiler error in greeter (Windows)

scbuergelscbuergel Member Posts: 15
Hi all

I eventually got solidity to work along with geth in Windows. Note that I had to install webthree-umbrella since solC is currently not supported in the way that it is described on the website. Now I am stuck at the compilation, I get a strage compile error (copy/pasted exactly from the website)
> greeterSource
"contract mortal { address owner; function mortal() { owner = msg.sender; } func
tion kill() { if (msg.sender == owner) suicide(owner); } } contract greeter is m
ortal { string greeting; function greeter(string _greeting) public { greeting =
_greeting; } function greet() constant returns (string) { return greeting; } }"
> var greeterCompiled = web3.eth.compile.solidity(greeterSource)
solc: exit status 1
Exception during compilation: C:\Jenkins\sharedspace\ethrelease\label\windows-sl
ave\webthree-umbrella\libethereum\libevmasm\ControlFlowGraph.cpp(128): Throw in
function void __cdecl dev::eth::ControlFlowGraph::resolveNextLinks(void)
Dynamic exception type: class boost::exception_detail::clone_impl
std::exception::what: Unknown exception
[struct dev::tag_comment * __ptr64] = Successor block not found.


    at InvalidResponse (:-81662:-63)
    at send (:-156322:-63)
    at solidity (:-133322:-63)
    at :1:23
I did make sure that there are now line breaks in the string variable containing the code. The part "C:\Jenkins\sharedspace\ethrelease..." looks like some hard-coded bug... could somebody have a look at that?

Thanks,
Sebastian

Comments

Sign In or Register to comment.