Janne Kätevä wrote:
> if exist libmysqlpp_util.a del libmysqlpp_util.a
> Syntax error: end of file unexpected (expecting "then")
> mingw32-make: *** [libmysqlpp_util.a] Error 2
This suggests you're running make from within some sort of Unixy
environment (Cygwin or MSYS?), or that there is an "if" program in your
path. You need to run it from a vanilla Windows cmd.exe shell to get
proper handling of the "if" statements in the Makefile.
> This command generates mysqlpp.dll file, but I don't think it works (I
> mean I don't know how to use/test it because the instruction doesn't say
> how to do that...).