-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for compiling on macOS #4
Comments
That would make a good pool request :) |
Yes, pull request please :) |
OK, PR #6 for the Makefile change but I don't know how to fix the issue with For what it's worth here's the compiler error:
I changed
|
Also it will be great to make it available for linux Update: i've changed the flag suggested by @beaugunderson but now i got this error
Update #2: i've downloaded this file but still cannot compile because of various erros like this one
Any ideas? |
I'm getting segfaults when I run the OS X compiled binary - is anyone else?
abi and bin code is as per https://github.com/web3j/web3j/tree/master/src/test/resources/solidity/greeter/build See deployed code here https://ropsten.etherscan.io/tx/0x654a48e6c24548a1f6c8556747ac849ca8344499b16605b8bd3f55aa9939749d |
@conor10 can you put the ABI and code in your comment (or a gist) as a bash script so I can easily run it? |
@conor10 sorry, I wanted something to copy and paste :) willing to help but limited time |
@beaugunderson can you confirm the macOS compilation issue had been fixed with the recent pull request ? |
I added PR #16 to finish the fix for OSX I'll add a new PR with doc cleanup and OSX build instructions |
I had to add this to
Makefile
to get it to work:CXX=g++ # or c++, clang works too CXXFLAGS=-std=c++14
I also had to inline
assertThrow
fromAssert.h
intoInstruction.h
because the compiler complained that it wasn't defined--my C++ knowledge is limited so I don't have a guess as to why.The text was updated successfully, but these errors were encountered: