Skip to content
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

Error when I compile MoeingEVM #1

Closed
SKlayer opened this issue Feb 24, 2021 · 1 comment
Closed

Error when I compile MoeingEVM #1

SKlayer opened this issue Feb 24, 2021 · 1 comment

Comments

@SKlayer
Copy link

SKlayer commented Feb 24, 2021

make[1]: 进入目录“/home/dev/桌面/moeing/MoeingEVM/evmwrap/host_bridge”
g++ -Wall -O3 -fPIC -std=c++17 -c -I ../evmone/include/ -I ../evmc/include/ -I ../intx/include/ -I ../keccak/include -o host_context.o -c host_context.cpp
host_context.cpp:100:1: error: designator order for field ‘evmc_host_interface::call’ does not match declaration order in ‘evmc_host_interface’
100 | };
| ^
host_context.cpp: In member function ‘size_t evmc_host_context::get_code_size(const evmc_address&)’:

@wangkui0508
Copy link
Contributor

This error is caused by the different compilers used by cgo in MacOS and Ubuntu. Now it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants