[GRASS-windows] Re: Build GRASS with MySQL support enabled

Marco Pasetti marcopstt at gmail.com
Wed Jul 23 09:46:36 EDT 2008


Glynn,

> I suspect that mysql.h expects you to have included some windows
> headers (e.g. <windows.h> or <winsock.h>) beforehand.
>
> Also:
>
> http://dev.mysql.com/doc/refman/5.1/en/windows-client-compiling.html

perfect! thanks

windows-client-compiling.html says: "You can either link your code with the 
dynamic libmysql.lib library, which is just a wrapper to load in 
libmysql.dll on demand"

I will try this before to add #include <my_global.h> to grass sources

Regards,

Marco 



More information about the grass-windows mailing list