From: Date: February 26 2006 4:19pm Subject: Re: Problem building version 2.0.7 with Visual C++ 2005 List-Archive: http://lists.mysql.com/plusplus/5503 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7271_11239669.1140967147969" ------=_Part_7271_11239669.1140967147969 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have made the modifications you mentioned, thank you for the reply. I have solved that error, but now i get a new one. C:\mysql++-2.0.7>mingw32-make cd lib && mingw32-make BIN_DIR=3Ddebug all example_setup makefile:34: *** commands commence before first target. Stop. mingw32-make[1]: Entering directory `C:/mysql++-2.0.7/lib' mingw32-make[1]: Leaving directory `C:/mysql++-2.0.7/lib' mingw32-make: *** [all] Error 2 Regards, Catalin On 2/26/06, Robert Brisita wrote: > > Hi, > > I have installed mysql++ with VC2k5 version of cl. > > Some problems I have had was: > Compiler options /ZI /Zi are incompatible together, one or the other but > not > both. > Compiler option /G6 is deprecated use /G instead for the release build. > > I believe the problem you are having is in the lib/makefile.vc and > examples/makefile.vc. > What I found was that backslashes had to be doubled and when referencing = a > variable in the > makefile I had to surround the variable in quotes. Without the quotes th= e > makefile would put debug and the file it was creating together: > debugcoldata.obj > > Instead of putting coldata.obj in the debug folder. > > Some examples: > > VC_LIB_PATH=3D$(BIN_DIR)\\$(LIB_FILE) > > ... > > .SUFFIXES: .cpp .obj > .cpp.obj: > $(CXX) $(CXXFLAGS) /Fo'$(BIN_DIR)\'$@ $< > > Hope this helps. Thanks for the API! > > Cheers, > Rob. > ------=_Part_7271_11239669.1140967147969--