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

Glynn Clements glynn at gclements.plus.com
Wed Jul 23 09:56:52 EDT 2008


Marco Pasetti wrote:

> > 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

Obviously, that isn't going to help.

What you subsequently choose to link will have no effect upon any
compilation issues. Libraries only matter if you actually get as far
as linking, and right now you aren't getting as far as linking.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-windows mailing list