Howto compile CQ with mysql for Linux
tested with the 1.4.13 and 1.4.14beta
1. Extract source
2. Extract jped
3. write create script
g++ -DUNIX -DNATIVE_ENDIAN=1 -DNOINTJPEG -DUSEMYSQL total.cxx -o dgate -lpthread -L/usr/lib/mysql -lmysqlclient
changes in the source
4. => odbci.hpp:61
VOR 61:#include "C:\mysql-5.0.22-win32\include\mysql.h"
NACH 61:#include "/usr/include/mysql/mysql.h"
6. change de dicom.sql.postgres to dicom.sql
7. configigure dicom.ini
# Host, database, username and password for postgres server
SQLHost = localhost
SQLServer = conquest
Username = conquestuser
Password = ypurmysqlpass
MySQL = 1