Обсуждение: Unresolved extern symbols
Hello, I'm trying to link on Windows (Visual C++) a libpq project that runs fine in MacOS X, I get this error eleven times : Unresolved extern symbols _PQStatus... Unresolved extern symbols _PQErrorMessage... ...etc... What is supposed to generate this link errors ? Thanks Regards. Stéphane
On Mon, Oct 06, 2003 at 08:12:16PM +0200, Stéphane Pinel wrote: > Hello, > > I'm trying to link on Windows (Visual C++) a libpq project that runs > fine in MacOS X, I get this error eleven times : > > Unresolved extern symbols _PQStatus... > Unresolved extern symbols _PQErrorMessage... > > ...etc... > > What is supposed to generate this link errors ? > Did you checked this link? http://www.postgresql.org/docs/7.3/interactive/libpq-build.html Au revoir, -- -------------------------- Alberto Cabello Sánchez alberto@unex.es 924 289 351 Servicio de Informática Universidad de Extremadura --------------------------
Yes I did and I could use this information in order to set up my MacOS X project but here I am on Windows (VC++) and, as a newbie on this plateform, I'm looking for a tip that could help me to fix these links errors ;-) Any help from Windows developers ? Thank you. Stéphane On Mon, Oct 06, 2003 at 08:12:16PM +0200, Stéphane Pinel wrote:> Hello,>> I'm trying to link on Windows (Visual C++) a libpqproject that runs> fine in MacOS X, I get this error eleven times :>> Unresolved extern symbols _PQStatus...> Unresolvedextern symbols _PQErrorMessage...>> ...etc...>> What is supposed to generate this link errors ?> Did you checked this link? http://www.postgresql.org/docs/7.3/interactive/libpq-build.html Au revoir, -- -------------------------- Alberto Cabello Sánchez alberto ( at ) unex ( dot ) es 924 289 351 Servicio de Informática Universidad de Extremadura --------------------------
OK. I was declaring a wrong include folder. This works now. Thanks. Stéphane Le mardi, 7 oct 2003, à 15:16 Europe/Paris, Stéphane Pinel a écrit : > Yes I did and I could use this information in order to set up my MacOS > X project but here I am on Windows (VC++) and, as a newbie on this > plateform, I'm looking for a tip that could help me to fix these links > errors ;-) > > Any help from Windows developers ? > > Thank you. > > Stéphane > > On Mon, Oct 06, 2003 at 08:12:16PM +0200, Stéphane Pinel wrote: > > Hello, > > > > I'm trying to link on Windows (Visual C++) a libpq project that runs > > fine in MacOS X, I get this error eleven times : > > > > Unresolved extern symbols _PQStatus... > > Unresolved extern symbols _PQErrorMessage... > > > > ...etc... > > > > What is supposed to generate this link errors ? > > > > Did you checked this link? > http://www.postgresql.org/docs/7.3/interactive/libpq-build.html Au > revoir, > > -- > -------------------------- > Alberto Cabello Sánchez > alberto ( at ) unex ( dot ) es > 924 289 351 > Servicio de Informática > Universidad de Extremadura > -------------------------- > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >