After a bit of a struggle (in addition to EPICS_TOP, EPICS_HOST_TYPE env also needs to be defined) this is what I get and I do not know where the file mysql.h is supposed to come from:
----------------------------------------------------
g++ -g -O0 -I. -o db_pv_factory.o -c db_pv_factory.cc
In file included from db_pv_factory.cc:9:
db_pv_factory.h:11:25: mysql/mysql.h: No such file or directory
db_pv_factory.cc: In function `int doSelect(char*, char*, char*, char*, int)':
db_pv_factory.cc:55: error: `MYSQL' was not declared in this scope
db_pv_factory.cc:55: error: `m' was not declared in this scope
db_pv_factory.cc:56: error: `MYSQL_RES' was not declared in this scope
db_pv_factory.cc:56: error: `result' was not declared in this scope
db_pv_factory.cc:57: error: `MYSQL_ROW' was not declared in this scope
db_pv_factory.cc:57: error: expected `;' before "row"
db_pv_factory.cc:58: error: `MYSQL_FIELD' was not declared in this scope
db_pv_factory.cc:58: error: `fields' was not declared in this scope
-----------------------------------------------------
I have qt-4.3.2 open source installed. I find that there is a file:
Qt-4.3.2/include/QtSql/qsql_mysql.h
Is this the file that should be include?
Am I in trouble because I have Qt-4.3.2?
Thanks,
Zen
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of John Sinclair
Sent: Tuesday, November 06, 2007 7:18 AM
To: [email protected]
Subject: Qt edm code
All,
Qt edm pre-alpha code is now available at
http://ics-web1.sns.ornl.gov/edm/info/show.php?mon=Nov&theDay=6&year=2007
John Sinclair