Any source file using Cactus infrastructure should include the header file cctk.h using the line
#include "cctk.h"