Compiling Player Code
From Murray Wiki
Jump to navigationJump to search
A piece of Player source code example.cc
can be compiled using the following command:
g++ -Wall -fpic -g3 -o `pkg-config --cflags player` `pkg-config --libs player` -c example
This command uses the PKG_CONFIG_PATH to define the include and lib directories generically. PKG_CONFIG_PATH should have been set when Player was installed (see [1] for more details)
Makefiles may be useful for more complicated projects.