If C++ is not the way you wish todo CGI try these resources instead.
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.awhere <version> is the latest version of CeeGeye without the <> symbols.
CGI specification:- CGI documentation
email