I am using check package in netbeans for C programming, But I receive this error from netbeans: Package check was not found in the pkg-config search path. Perhaps you should add the directory containing `check.pc' to the PKG_CONFIG_PATH environment variable No package 'check' found
In the terminal if I insert this line:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
and then
pkg-config --modversion check
it can find the check package, but in netbeans I still get the same error.
What should I do?
Thanks in advance