Not get the real reason. But include the header file which xxx is decleared to all the header files that is effacted.

    1. In file included from src/Gateway.h:3:0,
    2. from src/OrderAPI.h:13,
    3. from src/OrderAPIPool.h:26,
    4. from src/Ztrader.h:12,
    5. from src/WTLService.h:27,
    6. from src/OrderAPI.cpp:2:
    7. ./ItchOuch/titan_ouch.h:298:2: error: ‘Ztrader’ does not name a type

    looks like this Ztrader class is used in some header file before “Ztrader.h” is copied.
    Hence solution is insert `include “Ztrader.h” to all the header files affected.