#include "mysql/mysql.h"

Ah, I think perhaps that should be:

    #include <mysql/mysql.h>

That doesn't work either. Is there a way to check where g++ looks for include files when not using the -I option?


You also have to link to the appropriate library(s). Hopefully the docs will tell you how to do that.

Yup. When using -I, -L and -l, everything works. I'm just a little curious why I have to use the -I option when the files are in a standard path?

Stefan
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to