libxcm
|
Introduction | User Tools Documentation | User API Documentation | Programming Tutorial |
The libXcm library contains the a reference implementation of the X Color Management specification. The X Color Management specification allows to attach colour regions to X windows to communicate with colour servers.
Frist you have to put a
#include <X11/Xcm/XcmVersion.h>
in your source text, in order to use libXcm.
int main( int argc, char ** argv ) { int version = XCM_VERSION_NUM; return 0; }
pkg-config –cflags xcm delivers the compiler flags and pkg-config –libs xcm the linker flags.
Then you can put libXcm functions in your code and compile with:
cc `pkg-config --cflags --libs xcm` mycode.c -o myApp
to link libXcm into your application.