Linker issue with NPP header file

I’m having problems getting the <nppi.h> header file functions to compile.

The compiler gives me an error:
“undefined reference to `nppiAddC_8u_C1RSfs’”

What are the linker flags I need for this function? I believe I may be missing some. I am currently using -lnppicc_static. I also have my library and include flags set to the cuda lib64 and include folders.

Any help is appreciated,