From: Date: February 26 2006 7:46am Subject: Re: Problem building version 2.0.7 with Visual C++ 2005 List-Archive: http://lists.mysql.com/plusplus/5502 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; format=flowed 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. ----Original Message Follows---- From: Warren Young Reply-To: plusplus@stripped To: MySQL++ Mailing List Subject: Re: Problem building version 2.0.7 with Visual C++ 2005 Date: Mon, 20 Feb 2006 12:39:07 -0700 MIME-Version: 1.0 Received: from lists.mysql.com ([213.136.52.31]) by bay0-mc7-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 20 Feb 2006 11:39:16 -0800 Received: (qmail 5335 invoked by uid 510); 20 Feb 2006 19:39:08 -0000 Received: (qmail 5313 invoked by uid 509); 20 Feb 2006 19:39:08 -0000 Received: pass (lists.mysql.com: local policy) X-Message-Info: JGTYoYF78jEJ2D+930iwRj2Mh+wlNeJE9L5J714mYZo= Mailing-List: contact plusplus-help@stripped; run by ezmlm List-ID: Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Archive: http://lists.mysql.com/plusplus/5495 Delivered-To: mailing list plusplus@stripped User-Agent: Thunderbird 1.5 (Windows/20051201) References: Return-Path: plusplus-return-5495-rbrisita=hotmail.com@stripped X-OriginalArrivalTime: 20 Feb 2006 19:39:17.0105 (UTC) FILETIME=[56162610:01C63655] Catalin Ispas wrote: >process_begin: CreateProcess((null), cl /Ic:\mysql\include >/DMYSQLPP_MAKING_DLL >/D_WINDLL /D_UNICODE /G6 /EHsc /nologo /c /MDd /Od /D_DEBUG /ZI /Zi >/Fodebug\col >data.obj coldata.cpp, ...) failed. It looks like there is no cl program, or it is not in your PATH. I haven't played with VS 2005 yet. Please investigate this and let us know what we need to change. -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=rbrisita@stripped