| Bug #10733 | Getting LNK2019 errors associated with the Connection object | ||
|---|---|---|---|
| Submitted: | 19 May 2005 10:35 | Modified: | 21 May 2005 4:30 |
| Reporter: | Lance Additon | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
| Version: | mysql++ 1.7.35 | OS: | Windows (Win XP Pro) |
| Assigned to: | CPU Architecture: | Any | |
[21 May 2005 4:30]
MySQL Verification Team
I compiled the library and :
------ Build started: Project: custom2, Configuration: Debug Win32 ------
Compiling...
custom2.cpp
Linking...
Build log was saved at "file://c:\mysql++-1.7.35\examples\Debug\BuildLog.htm"
custom2 - 0 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 2 succeeded, 0 failed, 0 skipped
which compiler are you using and did you read the file shipped:
README.vc++ ?

Description: I had all the appropriate libraries added to the dependency of the linker. I am getting the following error: error LNK2019: unresolved external symbol "public: __thiscall mysqlpp::Connection::Connection(char const *,char const *,char const *,char const *,bool)" (??0Connection@mysqlpp@@QAE@PBD000_N@Z) referenced in function "void __cdecl TestCon(void)" (?TestCon@@YAXXZ) the thing is, I looked in the connection.h header file and this constructor is defined and in connection.cpp. How to repeat: Just try to compile with a a declaration of a "connection" object that is constructed with input parameters (const *char, const char*, const *char, const *char, bool) Suggested fix: just have it compile