In a Linux C/C++ application, include the header file ni4882.h, which contains prototypes for the NI-488.2 calls and constants that you can use in your application.
macOS applications should include <NI4882/ni4882.h>.