Closed xihuancoding closed 6 years ago
You can use -I=/pathto/eos/ parametr for example eosio-cpp ../src/pvp.cpp -o ../build/pvp/pvp.wasm -I=/mnt/d/EOS/eos/contracts
currency.hpp is removed. As it is a contract no longer supported by us, it was removed from cdt. You would have to supply your own copy for this. Or the better approach would be to use the token contract for your needs.
all current github examples using the following signature:
void onTransfer(const eosio::currency::transfer& transfer);
Looks like currency.hpp is removed in eosio.cdt, then how to compile?