List:MySQL++« Previous MessageNext Message »
From:Sulfurik Kixdemp Nosferathus Date:October 23 2005 2:02am
Subject:Errors compiling MySQL++
View as plain text  
Hello everyone! :-D

[story]
OK, here's my story... I was reading this tutorial:
http://www.informit.com/articles/article.asp?p=101661&seqNum=5
And it said to download MySQL++. I downloaded it, and copied the mysql++.h file to my
Include dir. (I'm using MinGW 3.4.2).
That didn't work. Then I figured I needed a .lib file which I can't remember the name, but
I didn't have that file, so I went to the
readme.mingw file and it said I had to compile... and that brought me bad memories of
Linux... :-(  I tried to compile it but I
got a bunch of erros. Then I realized I also needed MySQL! I downloaded that and installed
it...
[/story]

When I try to run mingw32-make, I got these errors:

-----------------------
cd lib && mingw32-make BIN_DIR=debug all example_setup
c:\mingw\bin\mingw32-make.exe[1]: Entering directory `c:/mysql++/lib'
c:\mingw\bin\mingw32-make.exe[1]: Nothing to be done for `all'.
c:\mingw\bin\mingw32-make.exe[1]: Nothing to be done for `example_setup'.
c:\mingw\bin\mingw32-make.exe[1]: Leaving directory `c:/mysql++/lib'
cd lib && mingw32-make BIN_DIR=release
c:\mingw\bin\mingw32-make.exe[1]: Entering directory `c:/mysql++/lib'
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\coldata.o cold
ata.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\connection.o c
onnection.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\datetime.o dat
etime.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\field_names.o
field_names.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\field_types.o
field_types.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\fields.o field
s.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\manip.o manip.
cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\myset.o myset.
cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\qparms.o qparm
s.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\query.o query.
cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\result.o resul
t.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\row.o row.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\sql_string.o s
ql_string.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\string_util.o
string_util.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\type_info.o ty
pe_info.cpp
g++ -Ic:\mysql\include -I.. -DMYSQLPP_NO_DLL -O2 -c -O2 -orelease\vallist.o vall
ist.cpp
ar cru release\libmysqlpp.a  release/coldata.o release/connection.o release/date
time.o release/field_names.o release/field_types.o release/fields.o release/mani
p.o release/myset.o release/qparms.o release/query.o release/result.o release/ro
w.o release/sql_string.o release/string_util.o release/type_info.o release/valli
st.o
del /q "..\examples\release\"*.exe
/usr/bin/sh: -c: line 1: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 2: syntax error: unexpected end of file
c:\mingw\bin\mingw32-make.exe[1]: *** [libmysqlpp.a] Error 258
c:\mingw\bin\mingw32-make.exe[1]: Leaving directory `c:/mysql++/lib'
mingw32-make: *** [all] Error 2
-----------------------

Anyone know how to fix these errors? Thanks! ;-)
Thread
Errors compiling MySQL++Sulfurik Kixdemp Nosferathus23 Oct
  • Re: Errors compiling MySQL++Warren Young23 Oct