List: MySQL++ « Previous MessageNext Message » From: Warren Young Date: November 15 2004 1:11pm Subject: Re: Compiling MySQL++ on Windows with MySQL 4.1.7 View as plain text
Drew Ferraro wrote:
> I'm have that same error when trying to compile the mysql++ library. I
> read the readme you mentioned but it doesn't mention this error or how
> to get around it. Thanks for any help!

"You should look through the Windows-specific section of
lib\platform.h to see if there are any #defines that you need

And then in platform.h:

// Uncomment this if you are using MySQL 4.1.3 or higher, or 5.0.1
// or higher.
//# define HAVE_MYSQL_SHUTDOWN_LEVEL_ARG

> LINK : fatal error LNK1181: cannot open input file
> '\MySQL++\mysql++-1.7.21\Debug\mysql++.lib'

The library should be unpacked into the mysql++ directory itself, not
having a mysql++-1.7.21 subdirectory.