How To

The easiest way to use ceegeye is to use the pkg-config program. Chances are this is already on your system. As an example you have a file (mycgi.cpp) that you wish to compile into a cgi program ( Please note that the [ ` ] character in this line is not a [ ] character ). Just run at the command line

g++ mycgi.cpp -o mycgi.cgi `pkg-config --libs --cflags ceegeye-<version>`

where <version> is the latest version of CeeGeye without the <> symbols.
This compiles the program mycgi.cgi, drop this file into your cgi-bin and voila, simple huh

One caveat this pre-supposes that the PKG_CONFIG_PATH environment variable is set correctly. If not set it at the command line. Please note that the [ ` ] character in these lines is not a [ ] character.

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
g++ mycgi.cpp -o mycgi.cgi `pkg-config --libs --cflags ceegeye-<version>`

where <version> is the latest version of ceegeye without the <> symbols.
/usr/local/lib/pkgconfig being the path to the pkg-config directory where ceegeye’s pkg-config file is.
Alternatively if you do not have the pkg-config program

g++  mycgi.cpp -o mycgi.cgi -I/usr/local/include/ceegeye-<version> -L/usr/local/lib -lceegeye-<version>

where <version> is the latest version of CeeGeye without the <> symbols.
If you wish to link statically

g++  mycgi.cpp -o mycgi.cgi -I/usr/local/include/ceegeye-<version> /usr/local/lib/libceegeye.a

where <version> is the latest version of CeeGeye without the <> symbols.

CGI specification:- CGI documentation
email

ceegeye