List:MySQL++« Previous MessageNext Message »
From:Catalin Ispas Date:February 26 2006 3:19pm
Subject:Re: Problem building version 2.0.7 with Visual C++ 2005
View as plain text  
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=debug 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 <rbrisita@stripped> 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 the
> 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=$(BIN_DIR)\\$(LIB_FILE)
>
> ...
>
> .SUFFIXES: .cpp .obj
> .cpp.obj:
>         $(CXX) $(CXXFLAGS) /Fo'$(BIN_DIR)\'$@ $<
>
> Hope this helps.  Thanks for the API!
>
> Cheers,
> Rob.
>

Thread
Problem building version 2.0.7 with Visual C++ 2005Catalin Ispas20 Feb
  • Re: Problem building version 2.0.7 with Visual C++ 2005Warren Young20 Feb
Re: Problem building version 2.0.7 with Visual C++ 2005Robert Brisita26 Feb
  • Re: Problem building version 2.0.7 with Visual C++ 2005Catalin Ispas26 Feb
    • Re: Problem building version 2.0.7 with Visual C++ 2005Warren Young27 Feb
      • Re: Problem building version 2.0.7 with Visual C++ 2005Catalin Ispas28 Feb
  • Re: Problem building version 2.0.7 with Visual C++ 2005Warren Young27 Feb