EOSIO / EOSIO/abieos

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

Open
#88 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
35
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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
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
#include

-#include "abieos_ripemd160.hpp"
+#include "../src/abieos_ripemd160.hpp"

#define ABIEOS_NODISCARD [[nodiscard]]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.