Skip to content

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

Description

@lucgerrits

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]]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions