I want to build eosio.token,and i build by this command:
$ eosiocpp -o contracts/eosio.token/eosio.token.wast contracts/eosio.token/eosio.token.cpp
but there's a error(eosio.token.hpp exist actually):
contracts/eosio.token/eosio.token.cpp:6:10: fatal error: 'eosio.token/eosio.token.hpp' file not found
include
^
~~~~~~~~
1 error generated.
Can someone help me with that?
Change that line to:
#include <eosio.token.hpp>
Thank you very much,i build it successfully.
i change to #include
src/eosio.token.cpp:5:10: fatal error: 'eosio.token.hpp' file not found
#include <eosio.token.hpp>
i change to #include
, but still get error: src/eosio.token.cpp:5:10: fatal error: 'eosio.token.hpp' file not found #include <eosio.token.hpp>
'eosio.token.hpp' file not found,you can search this file in your file system.
I solve this by move the file include/eosio.token/eosio.token.hpp to src folder and change the #include <eosio.token/eosio.token.hpp> to #include "eosio.token.hpp"
I solve this by move the file
include/eosio.token/eosio.token.hpptosrcfolder and change the#include <eosio.token/eosio.token.hpp>to#include "eosio.token.hpp"
It works, thank you
Most helpful comment
I solve this by move the file
include/eosio.token/eosio.token.hpptosrcfolder and change the#include <eosio.token/eosio.token.hpp>to#include "eosio.token.hpp"