![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
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. |
#5
| |||
| |||
|
|
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 |
#6
| |||
| |||
|
|
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. |
#7
| |||
| |||
|
|
Catalin Ispas wrote: 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. That indicates a Makefile formatting error. Either the changes you made broke the Makefile, or you missed some changes that need to be made. If I release a packaged version of the 2.1 branch so you don't have to check it out from the repository, would you try it? -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...mail (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |