During the tutorial on https://developers.eos.io/eosio-home/docs at the last step (step 2.9, the section about deferred transactions) when trying to compile the code, I get this error:
[*** addressbook]$ eosio-cpp -o addressbook.wasm addressbook.cpp -I ../abcounter/ -dI
warning: argument unused during compilation: '-dI' [-Wunused-command-line-argument]
/home/*****/eos/contracts/addressbook/addressbook.cpp:119:11: error: no type named 'transaction' in namespace 'eosio'
eosio::transaction deferred;
~~~~~~~^
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action <upsert> does not have a ricardian contract
Warning, action <erase> does not have a ricardian contract
Warning, action <notify> does not have a ricardian contract
1 error generated.
Error while processing /home/*****/eos/contracts/addressbook/addressbook.cpp.
abigen error
Why would there not be any eosio::transaction found? This should be part of the core cdt libraries, shouldn't it? Did I do something wrong when providing the library path?