You need to include Acknex in the very first line of the code:

Code:
#include <acknex.h>