Problems - Libpq++

From: "Christiane Brasil" <christianebrasil(at)gmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org(dot)
Subject: Problems - Libpq++
Date: 2006-05-23 11:46:41
Message-ID: 36ba2fe20605230446l720a58f2p789cf83521e2736c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

I´m trying to compile a program with Visual C++ Express Edition, using the
library Libpq++. But I don´t understand the errors that appear when it´s
compiled.

1>------ Build started: Project: projBancoII, Configuration: Debug Win32
------
1>Linking...
1>projBancoII.obj : error LNK2028: unresolved token (0A000015) "public: enum
ExecStatusType __clrcall Libpqpp::PgConnection::Exec(char const *)" (?Exec@
PgConnection(at)Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD(at)Z) referenced in
function "private: void __clrcall projBancoII::Form1::button1_Click(class
System::Object ^,class System::EventArgs ^)" (?button1_Click@
Form1(at)projBancoII@@$$FA$AAMXP$AAVObject(at)System@@P$AAVEventArgs(at)4@@Z)

1>projBancoII.obj : error LNK2028: unresolved token (0A000017) "public: bool
__clrcall Libpqpp::PgConnection::ConnectionBad(void)const " (?ConnectionBad@
PgConnection(at)Libpqpp@@$$FQBM_NXZ) referenced in function "private: void
__clrcall projBancoII::Form1::button1_Click(class System::Object ^,class
System::EventArgs ^)" (?button1_Click(at)Form1@projBancoII
@@$$FA$AAMXP$AAVObject(at)System@@P$AAVEventArgs(at)4@@Z)

1>projBancoII.obj : error LNK2028: unresolved token (0A00002F) "public:
virtual __clrcall Libpqpp::PgCursor::~PgCursor(void)"
(??1PgCursor(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public: virtual
void * __clrcall Libpqpp::PgCursor::`vector deleting destructor'(unsigned
int)" (??_EPgCursor(at)Libpqpp@@$$FUAMPAXI(at)Z)

1>projBancoII.obj : error LNK2028: unresolved token (0A000030) "public:
virtual __clrcall Libpqpp::PgTransaction::~PgTransaction(void)"
(??1PgTransaction(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public:
virtual void * __clrcall Libpqpp::PgTransaction::`vector deleting
destructor'(unsigned int)" (??_EPgTransaction(at)Libpqpp@@$$FUAMPAXI(at)Z)

1>projBancoII.obj : error LNK2028: unresolved token (0A000032) "public:
virtual __clrcall Libpqpp::PgConnection::~PgConnection(void)"
(??1PgConnection(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase(at)Libpqpp@@$$FQAM(at)PBD@Z)

1>projBancoII.obj : error LNK2028: unresolved token (0A000033) "public:
__clrcall Libpqpp::PgConnection::PgConnection(char const *)"
(??0PgConnection(at)Libpqpp@@$$FQAM(at)PBD@Z) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase(at)Libpqpp@@$$FQAM(at)PBD@Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgConnection::~PgConnection(void)"
(??1PgConnection(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase(at)Libpqpp@@$$FQAM(at)PBD@Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
__clrcall Libpqpp::PgConnection::PgConnection(char const *)"
(??0PgConnection(at)Libpqpp@@$$FQAM(at)PBD@Z) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase(at)Libpqpp@@$$FQAM(at)PBD@Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgTransaction::~PgTransaction(void)"
(??1PgTransaction(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public:
virtual void * __clrcall Libpqpp::PgTransaction::`vector deleting
destructor'(unsigned int)" (??_EPgTransaction(at)Libpqpp@@$$FUAMPAXI(at)Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgCursor::~PgCursor(void)"
(??1PgCursor(at)Libpqpp@@$$FUAM(at)XZ) referenced in function "public: virtual
void * __clrcall Libpqpp::PgCursor::`vector deleting destructor'(unsigned
int)" (??_EPgCursor(at)Libpqpp@@$$FUAMPAXI(at)Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public: enum
ExecStatusType __clrcall Libpqpp::PgConnection::Exec(char const *)" (?Exec@
PgConnection(at)Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD(at)Z) referenced in
function "private: void __clrcall projBancoII::Form1::button1_Click(class
System::Object ^,class System::EventArgs ^)" (?button1_Click@
Form1(at)projBancoII@@$$FA$AAMXP$AAVObject(at)System@@P$AAVEventArgs(at)4@@Z)

1>projBancoII.obj : error LNK2019: unresolved external symbol "public: bool
__clrcall Libpqpp::PgConnection::ConnectionBad(void)const " (?ConnectionBad@
PgConnection(at)Libpqpp@@$$FQBM_NXZ) referenced in function "private: void
__clrcall projBancoII::Form1::button1_Click(class System::Object ^,class
System::EventArgs ^)" (?button1_Click(at)Form1@projBancoII
@@$$FA$AAMXP$AAVObject(at)System@@P$AAVEventArgs(at)4@@Z)

1>projBancoII - 13 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thanks a lot.

Regards,
Chris

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2006-05-23 14:27:05 Re: Problems - Libpq++
Previous Message Frank Finner 2006-05-15 18:21:09 Re: installation problems