pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedProblems - Libpq++
3+ messages / 2 participants
[nested] [flat]
* Problems - Libpq++
@ 2006-05-23 11:46 Christiane Brasil <christianebrasil@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Christiane Brasil @ 2006-05-23 11:46 UTC (permalink / raw)
To: pgsql-interfaces@postgresql.org.
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@Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD@Z) referenced in
function "private: void __clrcall projBancoII::Form1::button1_Click(class
System::Object ^,class System::EventArgs ^)" (?button1_Click@
Form1@projBancoII@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>projBancoII.obj : error LNK2028: unresolved token (0A000017) "public: bool
__clrcall Libpqpp::PgConnection::ConnectionBad(void)const " (?ConnectionBad@
PgConnection@Libpqpp@@$$FQBM_NXZ) referenced in function "private: void
__clrcall projBancoII::Form1::button1_Click(class System::Object ^,class
System::EventArgs ^)" (?button1_Click@Form1@projBancoII
@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>projBancoII.obj : error LNK2028: unresolved token (0A00002F) "public:
virtual __clrcall Libpqpp::PgCursor::~PgCursor(void)"
(??1PgCursor@Libpqpp@@$$FUAM@XZ) referenced in function "public: virtual
void * __clrcall Libpqpp::PgCursor::`vector deleting destructor'(unsigned
int)" (??_EPgCursor@Libpqpp@@$$FUAMPAXI@Z)
1>projBancoII.obj : error LNK2028: unresolved token (0A000030) "public:
virtual __clrcall Libpqpp::PgTransaction::~PgTransaction(void)"
(??1PgTransaction@Libpqpp@@$$FUAM@XZ) referenced in function "public:
virtual void * __clrcall Libpqpp::PgTransaction::`vector deleting
destructor'(unsigned int)" (??_EPgTransaction@Libpqpp@@$$FUAMPAXI@Z)
1>projBancoII.obj : error LNK2028: unresolved token (0A000032) "public:
virtual __clrcall Libpqpp::PgConnection::~PgConnection(void)"
(??1PgConnection@Libpqpp@@$$FUAM@XZ) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase@Libpqpp@@$$FQAM@PBD@Z)
1>projBancoII.obj : error LNK2028: unresolved token (0A000033) "public:
__clrcall Libpqpp::PgConnection::PgConnection(char const *)"
(??0PgConnection@Libpqpp@@$$FQAM@PBD@Z) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase@Libpqpp@@$$FQAM@PBD@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgConnection::~PgConnection(void)"
(??1PgConnection@Libpqpp@@$$FUAM@XZ) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase@Libpqpp@@$$FQAM@PBD@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
__clrcall Libpqpp::PgConnection::PgConnection(char const *)"
(??0PgConnection@Libpqpp@@$$FQAM@PBD@Z) referenced in function "public:
__clrcall Libpqpp::PgDatabase::PgDatabase(char const *)"
(??0PgDatabase@Libpqpp@@$$FQAM@PBD@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgTransaction::~PgTransaction(void)"
(??1PgTransaction@Libpqpp@@$$FUAM@XZ) referenced in function "public:
virtual void * __clrcall Libpqpp::PgTransaction::`vector deleting
destructor'(unsigned int)" (??_EPgTransaction@Libpqpp@@$$FUAMPAXI@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public:
virtual __clrcall Libpqpp::PgCursor::~PgCursor(void)"
(??1PgCursor@Libpqpp@@$$FUAM@XZ) referenced in function "public: virtual
void * __clrcall Libpqpp::PgCursor::`vector deleting destructor'(unsigned
int)" (??_EPgCursor@Libpqpp@@$$FUAMPAXI@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public: enum
ExecStatusType __clrcall Libpqpp::PgConnection::Exec(char const *)" (?Exec@
PgConnection@Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD@Z) referenced in
function "private: void __clrcall projBancoII::Form1::button1_Click(class
System::Object ^,class System::EventArgs ^)" (?button1_Click@
Form1@projBancoII@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
1>projBancoII.obj : error LNK2019: unresolved external symbol "public: bool
__clrcall Libpqpp::PgConnection::ConnectionBad(void)const " (?ConnectionBad@
PgConnection@Libpqpp@@$$FQBM_NXZ) referenced in function "private: void
__clrcall projBancoII::Form1::button1_Click(class System::Object ^,class
System::EventArgs ^)" (?button1_Click@Form1@projBancoII
@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Problems - Libpq++
@ 2006-05-23 14:27 Jeroen T. Vermeulen <jtv@xs4all.nl>
parent: Christiane Brasil <christianebrasil@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jeroen T. Vermeulen @ 2006-05-23 14:27 UTC (permalink / raw)
To: Christiane Brasil <christianebrasil@gmail.com>; +Cc: pgsql-interfaces
On Tue, May 23, 2006 18:46, Christiane Brasil wrote:
> 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>projBancoII.obj : error LNK2028: unresolved token (0A000015) "public:
> enum
> ExecStatusType __clrcall Libpqpp::PgConnection::Exec(char const *)"
> (?Exec@
> PgConnection@Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD@Z) referenced in
> function "private: void __clrcall projBancoII::Form1::button1_Click(class
> System::Object ^,class System::EventArgs ^)" (?button1_Click@
> Form1@projBancoII@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)
It looks like this compiler isn't speaking C++ in the first place--more
likely it's one of the Microsoft-specific "C++-like" languages that aren't
quite compatible. From what I heard, that unary "^" you see in this error
is something specific to a language called C++/CLI.
This can get a bit confusing since some of the people involved have made
it seem like this derived language and standard C++ were the same thing.
Apparently, however, Microsoft's compiler does impose some restrictions on
how you can link these derived languages with real C++ code.
Jeroen
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Problems - Libpq++
@ 2006-05-23 16:08 Christiane Brasil <christianebrasil@gmail.com>
parent: Jeroen T. Vermeulen <jtv@xs4all.nl>
0 siblings, 0 replies; 3+ messages in thread
From: Christiane Brasil @ 2006-05-23 16:08 UTC (permalink / raw)
To: Jeroen T. Vermeulen <jtv@xs4all.nl>; +Cc: pgsql-interfaces
>
> When I use this library Libpq++ in a console project there aren´t the
> errors. But when I create my project as an application (with forms), these
> errors appear.
>
> Where´s the problem?
Thanks a lot.
Regards, Christiane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-05-23 16:08 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 11:46 Problems - Libpq++ Christiane Brasil <christianebrasil@gmail.com>
2006-05-23 14:27 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
2006-05-23 16:08 ` Christiane Brasil <christianebrasil@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox