Installation
Building
Windows
Open quickfix_vs10.sln, quickfix_vs11.sln, or quickfix_vs12.sln.
Batch build all projects. lib\quickfix.lib and lib\debug\quickfix.lib can be linked into your application. Header files are copied to the include directory.
Compile time options are controlled from the config_windows.h file in the src directory. The following options are supported:
-
#define HAVE_STLPORT 1Compile with stlport instead of standard visual c++ STL implementation.
-
#define HAVE_ODBC 1Compiles ODBC support into QuickFIX.
-
#define HAVE_MYSQL 1Compiles MySQL support into QuickFIX. If you enable this option, the mysql include and library directories must be in the Visual Studio search paths.
-
#define HAVE_POSTGRESQL 1Compiles PostgreSQL support into QuickFIX. If you enable this option, the postgres include and library directories must be in the Visual Studio search paths.
-
#define HAVE_LIBXML 1Compile and link XML parsing code against the libxml library instead of the default MSXML3.
Linux / Solaris / FreeBSD / Mac OS X
./configure && ./make sudo make install
You can also run configure with the
--prefix=
option to install to a custom location.
./configure options:
-
--with-pythonBuild the Python API
-
--with-rubyBuild the Ruby API
-
--with-mysqlCompile in mysql support
-
--with-postgresqlCompile in postgresql support
-
--with-stlport=<base directory>Compile with stlport instead of standard gcc STL implementation
When using the SUNPro compiler:
- CC=<full path to SUNPro CC binary>
- CFLAGS=
-g -xs
- CXX=<full path to SUNPro CC binary>
- CXXFLAGS=-g -xs
- LD=<full path to SUNPro CC binary>
- LDFLAGS=-g -xs -lCstd
- AR=<full path to SUNPro CC binary>
- AR_FLAGS=-g -xs -xar -o