Hi All,

I am using Hypertable as the back end to the system that I am
designing.

I need to connect to local mySQL database using C APIs from src/cc/
Tools/hypertable/hypertable.cc file (using #include<mysql.h> file).

When I include it in src/cc/Tools/hypertable/hypertable.cc I get error
as "mysql.h header file not found".
I understand that the error is because of not setting proper flags
during compilation of hypertable.cc file.

The proper way is:

g++ -o <object_file> $(mysql_config --cflags) hypertable.cc $
(mysql_config --libs)

(I have tried the interfaces in a standalone file, where such
compilation does work.)

I tried searching in the Make files, but could not locate the file
where I can change the way hypertable.cc is getting compiled.

Please let me know the path of the makefile which has the g++/gcc
statement for compilation of hypertable.cc so that I can change it as
per required.

Thanks & Regards,
Harshada

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.

Reply via email to