|
Now I have libpqxx safely installed. Ran the tests ok. So, I created a project and included one of the test
programs. I added the lib files and lib directories as instructed. It compiles fine but totally screws up on the link. I have obviously forgotten something real simple. Below are just examples of a few of the errors. As you can see there are a total of 123!!!! What have I missed? Jonathan ------ Build started:
Project: PTACollector, Configuration: Debug Win32 ------ Linking... test.obj : warning LNK4248:
unresolved typeref token (01000018) for 'pg_result'; image may not run PTDatabase.obj : warning
LNK4248: unresolved typeref token (0100001B) for 'pg_result'; image may not run test.obj : warning LNK4248:
unresolved typeref token (0100001A) for 'pg_conn'; image may not run PTDatabase.obj : warning
LNK4248: unresolved typeref token (0100001D) for 'pg_conn'; image may not run test.obj : error LNK2028:
unresolved token (0A000012) "public: virtual struct pg_conn * __clrcall
pqxx::connect_lazy::do_completeconnect(struct pg_conn *)"
([EMAIL PROTECTED]@pqxx@@$$FUAMPAUpg_conn@@PAU3@@Z) referenced
in function "void __clrcall `dynamic initializer for 'const
pqxx::connect_lazy::`vftable'''(void)"
([EMAIL PROTECTED]@@6B@@@[EMAIL PROTECTED]@@$$FYMXXZ) C:\Documents and
Settings\Jonathan\My Documents\Visual Studio
2005\Projects\PTAnalyser\Debug\PTACollector.exe : fatal error LNK1120: 103
unresolved externals Build log was saved at
"file://c:\Documents and Settings\Jonathan\My Documents\Visual Studio
2005\Projects\PTAnalyser\PTACollector\Debug\BuildLog.htm" PTACollector - 123 error(s),
4 warning(s) ========== Build: 0
succeeded, 1 failed, 0 up-to-date, 0 skipped ========== -- |
_______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
