Eos: Error when build eosio.token

Created on 10 May 2018  路  6Comments  路  Source: EOSIO/eos

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?

Most helpful comment

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"

All 6 comments

Change that line to:

#include <eosio.token.hpp>

Thank you very much,i build it successfully.

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>

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.hpp to src folder and change the #include <eosio.token/eosio.token.hpp> to #include "eosio.token.hpp"

It works, thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ResponsiveWebApps picture ResponsiveWebApps  路  3Comments

hadramidah picture hadramidah  路  3Comments

hsejin314 picture hsejin314  路  3Comments

williamleecn picture williamleecn  路  3Comments

congnghebitcoin picture congnghebitcoin  路  3Comments