ofxOpenNI, ./include/openni/XnCppWrapper.h has many undefined reference

Hi all,
I’m a OF beginner, I want to use ofxOpenNI to recognize gestures and postures. I adopt codeblocks 13.12 in ubuntu 14.04, and I have installed OpenNI 1.5.4 and NITE 1.5.2.3. I have created a project and copied according to README.markdown in the ofxOpenNI, but many "./include/openni/XnCppWrapper.h
undefined reference to " occurred, the build messages as follow:
/home/mi/of_v0.8.4_linux64_release/apps/myApps/handtracking/./include/openni/XnCppWrapper.h|1085|undefined reference to xnGetRefContextFromNodeHandle'| /home/mi/of_v0.8.4_linux64_release/apps/myApps/handtracking/./include/openni/XnCppWrapper.h|1086|undefined reference toxnContextUnregisterFromShutdown’|
/home/mi/of_v0.8.4_linux64_release/apps/myApps/handtracking/./include/openni/XnCppWrapper.h|1087|undefined reference to `xnContextRelease’|
… …
this problem confused me for few days, sincerely thank for your help!

I get the correct answer, edit the config.make line 79 to:PROJECT_LDFLAGS=-Wl,-rpath=./libs -L/usr/lib -lOpenNI