Windows

Introduction

This page describes which libraries to use on Windows.

Look in the win32.mak makefiles in the sourcecode distribution in order to get a feel for how to use them. Also consult the Visual Studio documentation for how to add libraries to your project.

Which libraries to use

Always

You will always need the following library:

  • libemdf.lib

PostgreSQL

If using PostgreSQL, you will also need the following libraries:

  • libpq.lib
  • libpq.dll

libpq.lib and libpq.dll are PostgreSQL libraries, and are distributed with the Emdros PostgreSQL binaries.

If your version of PostgreSQL does not match the version from which these libraries came in the binary distribution, follow the instructions in INSTALL.Win32 in the source distribution in order to build your own.

libemdf.lib depends on libpq.lib.

MySQL

If using MySQL, you will also need the following library:

  • mysqlclient.lib

In addition, you may need access to the MySQL header-files.

mysqlclient.lib is a MySQL library.

libemdf.lib depends on mysqlclient.lib.

SQLite 2

If using SQLite 2, you will also need the following library:

  • sqlite_emdros.lib

This is compiled automatically when you specify in the config.mak file that you want SQLite 2 as a backend.

SQLite 3

If using SQLite 3, you will also need the following library:

  • sqlite3_emdros.lib

This is compiled automatically when you specify in the config.mak file that you want SQLite 3 as a backend.

MQL

If using MQL, you will need the following libraries:

  • libmql.lib
  • libpcre_emdros.lib

libmql.lib depends on libemdf.lib and libpcre_emdros.lib.

Harvest

If using the Harvest library, you will need the following library:

  • libharvest.lib

libharvest.lib depends on libmql.lib and on libemdf.lib.

Util

If using the Emdros Utilities library, you will need the following library:

  • libutil_emdros.lib

libutil_emdros.lib depends on libmql.lib and on libemdf.lib.

Summary: PostgreSQL

If using PostgreSQL, you will need the following libraries:

  • libmql.lib
  • libemdf.lib
  • libpq.lib
  • libpq.dll
  • libpcre_emdros.lib

Summary: MySQL

If using MySQL, you will need the following libraries:

  • libmql.lib
  • libemdf.lib
  • mysqlclient.lib
  • libpcre_emdros.lib

Summary: SQLite 2

If using SQLite 2, you will need the following libraries:

  • libmql.lib
  • libemdf.lib
  • libsqlite_emdros.lib
  • libpcre_emdros.lib

Summary: SQLite 3

If using SQLite 3, you will need the following libraries:

  • libmql.lib
  • libemdf.lib
  • libsqlite3_emdros.lib
  • libpcre_emdros.lib

Previous:Unix/Linux
Up:Which libraries to use
Next:How to configure Linux for Emdros use