4 messages in com.mysql.lists.plusplusRe: Header file not in package?| From | Sent On | Attachments |
|---|---|---|
| Mohit Dewan | 07 Nov 2003 10:24 | |
| Mohit Dewan | 09 Nov 2003 17:06 | |
| Sinisa Milivojevic | 20 Nov 2003 05:31 | |
| Sinisa Milivojevic | 20 Nov 2003 05:33 |
| Subject: | Re: Header file not in package?![]() |
|---|---|
| From: | Sinisa Milivojevic (sin...@beotel.yu) |
| Date: | 11/20/2003 05:31:48 AM |
| List: | com.mysql.lists.plusplus |
On Fri, 7 Nov 2003 12:24:47 -0600 Mohit Dewan <moh...@arrakis.tamu.edu> wrote:
Hello,
I have installed the MySQL API on a Debian box and am trying to compile a simple1.cc in the examples directory. Its not finding mysql.h, which is included by defs, which is included by sqlplus.hh - the error is:
In file included from /usr/include/sqlplus/sqlplus.hh:9, from test.cc:3: /usr/include/sqlplus/defs:5:19: mysql.h: No such file or directory
In file included from /usr/include/sqlplus/sqlplus.hh:9, from test.cc:3:
. . <more errors - probably based on this file above> .
I tried doing a find but can't find the mysql.h file anywhere. Next, I downloaded the soruce and it didn't have the file either. The mailing list has a post on this issue, which says:
You need the MySQL development stuff. Likely your MySQL installation only includes the program itself, not the library and headers.
I do think that I have all the other libraries and headers - not sure what other development stuff is being referred to.
Please help me out! I really want to use this API but am having no luck so far. Where can I get this mysql.h file from?
Thank you, Mohit
Beside MySQL++ you must install our C API too.
--
Sincerely,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus




