Poco C++ libraries

From ES40 Emulator
Jump to: navigation, search

The ES40 Emulator uses the POCO C++ Libraries, available from SourceForge

Prerequisites

Install gcc and c++ support for gcc

You need the gcc and gcc-c++ package to build the POCO C++ Libraries from source.

To verify:

rpm -qa > /tmp/installed
grep gcc /tmp/installed

libgcc-4.3.0-8.i386
gcc-4.3.0-8.i386
gcc-c++-4.3.0-8.i386

If missing you can install the gcc and gcc-c++ package from your favorite distribution.

OpenSSL development

Most Unix/Linux systems already have OpenSSL preinstalled. If your system does not have OpenSSL, please get it from http://www.openssl.org or another source. You do not have to build OpenSSL yourself - a binary distribution is fine (e.g., apt-get install openssl libssl-dev).

yum install openssl-devel

Install the POCO C++ Libraries

C++ class libraries for network-centric, portable applications, integrated perfectly with the C++ Standard Library. Includes network protocols (Sockets, HTTP, FTP, SMTP, POP3, etc.) and an XML parser. Licensed under Boost license.

Download poco-1.3.3p1-all.tar.gz from http://sourceforge.net/projects/poco/

cd

mkdir src

cd src

gzip -dc ~/Download/poco-1.3.3p1-all.tar.gz |tar -xf -

cd poco-1.3.3p1-all
./configure --omit=Data/ODBC,Data/MySQL

make

su

make install

Documentation

Documentation is available from http://pocoproject.org/poco/docs