moneroexamples / compile-cpp-ethereum-on-arch

Compile cpp-ethereum on Arch Linux
5 stars 2 forks source link

cpp-ethereum source compilation error #3

Open s2-t2 opened 6 years ago

s2-t2 commented 6 years ago

I was able to succesfully build files but when trying to compile the source code using make , it gives me following error :

[100%] Building CXX object test/CMakeFiles/testeth.dir/unittests/libweb3jsonrpc/jsonrpc.cpp.o make[2]: No rule to make target 'deps/lib/libbinaryen.a', needed by 'test/testeth'. Stop. make[1]: [CMakeFiles/Makefile2:1234: test/CMakeFiles/testeth.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

Also, Note that the error is at [100%]. Is there any workaround for this ?

s2-t2 commented 6 years ago

Temporary workaround that worked for me : Manually copy the file libbinaryen.a from deps/lib64 to deps/lib If it complains about the location again with same kind of error message, manually copy the file its complaining about. Ultimately , these are the files inside my deps/libs and deps/libs64: $ ls lib libbinaryen.a libff.a libmpir.a libsecp256k1.a $ ls lib64/ libmpir.a

moneroexamples commented 6 years ago

Thanks. The guide is possible outdated. When I will find time, I try to make it up to date, unless you can make a pull request, so I can merge it?

s2-t2 commented 6 years ago

sure. I can update the guide with above mentioned workaround.