List:MySQL++« Previous MessageNext Message »
From:Thomas Werth Date:August 18 2005 9:11am
Subject:problems using mysql++ > 2.0.0
View as plain text  
Hello,


I'm using mysql++ for a project in vc2003. Now h'm trying to switch to
new lib version.
I managed to compile mysqlpp lib using makefiles.
When using makefiles i notice 2 things.

First when running "makemake.bat vc" i get an error "make.bat not found".
When looking into makemake.bat i discovered at end of file a "call
make.bat" whereas this make.bat isn't created in mysqlpp root dir nor is
 it delivered in basic install. I'm just ignoring this :D

Second this is a harder problem.
Using mysqlpp as dll in release version of my project seem to run fine.
Unfortunately in debug it always crashes when a local var ( like Query )
is destructed. It  throws an assertion using internal debug func
"_CrtIsValidHeapPointer".

When looking a Readme.vc at part "Using MySQL++ in Your Own Projects"

Debug settings are shown this way

<<
Under Linker::General add to "Additional Library
		  Directories": "c:\mysql\lib\debug, c:\mysql++\vc\lib" for
		  the Debug configuration.  For the Release configuration,
		  make it "c:\mysql\lib\opt, c:\mysql++\lib"
>>

Unfortunately no vc subdir is created.
I set "INST_DIR=F:\dev\Projekte\cpp\mysql++\vc" in makefile.vc in lib
dir, but nothing is created neither dir nor any files in there.

What am i doing wrong ? How do i tell makefile to create a debug version
of lib ?

greets
Thomas Werth
Thread
problems using mysql++ > 2.0.0Thomas Werth18 Aug
  • Re: problems using mysql++ > 2.0.0Warren Young18 Aug
    • Re: problems using mysql++ > 2.0.0Thomas Werth19 Aug
      • Re: problems using mysql++ > 2.0.0Warren Young19 Aug
Re: problems using mysql++ > 2.0.0Thomas Werth18 Aug
  • Re: problems using mysql++ > 2.0.0Warren Young18 Aug