You forgot to put
Code:
#include <acknex.h>


at the beginning of your code.