Matthias Ringe wrote: > Hi again, this problem is solved. I didn't now that i have to be one layer > higher than win32. > Now the .mak starts. But unfortunately it doesn't finish without error code. > while compiling he throws a lot of warnings: > This function or variable may be unsafe and some methods seem to be > antiquated, for example sprintf. > > Finally he throws: > > Coppying libpqD.dll to lib. > IMPORTANT: you MUST copy this libpqD.dll into the directory where your > program's EXE resides, or you must make sure that > it is in your system PATH. > > copy "C:\Programme\PostgreSQL\8.1"\interfaces\libpq\debug\libpqd.dll lib > > NMAKE: fatal error U1077: "copy": Rückgabe-Code "0x1" > Stop
I expect that you have installed PostgreSQL, but that: 1. you have not installed the PostgreSQL sources, or 2. you have not pointed "win32/common" to the PostgreSQL sources that you downloaded, or 3. you have downloaded the PostgreSQL sources but you have not compiled libPQ (not to be confused with libpqxx!) in debug mode. If you want to fix it: 1. Install the PostgreSQL sources. 2. Compile libPQ in debug mode (it's in interfaces\libpq, there are instructions on how to build it in Debug mode -- no more specifics right now because I've got to go to bed, if you need more info just mail me) 3. Point the PostgreSQL directory variable in win32/common to the source directory instead of the normal installer directory. If you have any more questions, don't hesitate to ask! Cheers, Bart _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
