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

fatal error: abieos_ripemd160.hpp: No such file or directory #88

Open
lucgerrits opened this issue Oct 27, 2020 · 2 comments
Open

fatal error: abieos_ripemd160.hpp: No such file or directory #88

lucgerrits opened this issue Oct 27, 2020 · 2 comments

Comments

@lucgerrits
Copy link

I got this error on latest branch:

Start: Make abieos
Submodule path 'external/eosjs': checked out '11fbd89d1fe78eb6807b89e1da38b4dc02bfb0f5'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/luc/mounted/My_Files/Luc_Files/Documents/github/EOS.IO-cpp-client/abieos/build
[  9%] Built target test_abieos_reflect
[ 13%] Building CXX object CMakeFiles/abieos.dir/src/abi.cpp.o
In file included from /home/luc/mounted/My_Files/Luc_Files/Documents/github/EOS.IO-cpp-client/abieos/src/abieos.hpp:39,
                 from /home/luc/mounted/My_Files/Luc_Files/Documents/github/EOS.IO-cpp-client/abieos/src/abi.cpp:2:
/home/luc/mounted/My_Files/Luc_Files/Documents/github/EOS.IO-cpp-client/abieos/include/eosio/abieos_numeric.hpp:12:10: fatal error: abieos_ripemd160.hpp: No such file or directory
 #include "abieos_ripemd160.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/abieos.dir/build.make:83: CMakeFiles/abieos.dir/src/abi.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:234: CMakeFiles/abieos.dir/all] Error 2
make: *** [Makefile:115: all] Error 2
Done: Make abieos

My fix is to change path of file abieos/include/eosio/abieos_numeric.hpp:

diff --git a/include/eosio/abieos_numeric.hpp b/include/eosio/abieos_numeric.hpp
index acc8724..f63fea9 100644
--- a/include/eosio/abieos_numeric.hpp
+++ b/include/eosio/abieos_numeric.hpp
@@ -9,7 +9,7 @@
 #include <string_view>
 #include <eosio/from_json.hpp>
 
-#include "abieos_ripemd160.hpp"
+#include "../src/abieos_ripemd160.hpp"
 
 #define ABIEOS_NODISCARD [[nodiscard]]
@ifunsu
Copy link

ifunsu commented Oct 28, 2020

I copy abieos_ripemd160.hpp to the path where abieos_numeric.hpp is.
But another error raise.

@kryton
Copy link

kryton commented Oct 28, 2020

PR #89 (which was just committed) should resolve this on the 'master' branch.

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

3 participants