EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Qt edm code
From: "Szalata, Zenon M." <[email protected]>
To: "John Sinclair" <[email protected]>, <[email protected]>
Date: Tue, 6 Nov 2007 12:10:01 -0800
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



Replies:
Re: Qt edm code John Sinclair
References:
Qt edm code John Sinclair

Navigate by Date:
Prev: RE: question about iocConsole Ernest L. Williams Jr.
Next: Re: Qt edm code John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Qt edm code John Sinclair
Next: Re: Qt edm code John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·