 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
Pestss Guest
Offline
|
Posted: Tue Oct 07, 2003 9:57 pm Post subject: Linking problems when trying to use Mysql++ |
 |
|
|
|
Trying to get the MySQL++ API to work with a Merv dll. I downloaded a version of the api from www.mysql.com for VC++ and read the readme. There was a section of adding it to work with an exsisting project, but Im not sure if its working when adding it to a merbot dll. Heres what it says:
Quote: |
1) Add mysql++.lib to the project
2) Go to Project Settings, C/C++ tab, category Preprocessor, and add the
directories include and mysql/include to the "Additional include
directories" edit box
3) In the source files, in which you want to use MySQL++, add the line
#include <mysql++>
after all other included header files (especially those of MFC)
|
Now when I try to use some code and Build the project im getting Linking Errors. http://pests.cywh.com/log.txt is the log of the warnings/errors. When I remove the lib from the project files, the errors go down to about 12 and they are "LNK2001: unresolved external symbol ..." errors.
Anyone know what Im doing wrong or how to fix? |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Wed Oct 08, 2003 3:03 pm Post subject: |
 |
|
|
|
Perhaps it is conflicting with a library that your compiler adds by default, or one that is in the list to link in (it mentions some stuff being already defined).
Unresolved external symbol... probably means the linker can't find a certain function() that is in a library or you forgot to include a source file in the project (but you have the .h file, otherwise it would say implicit declaration). |
|
Back to top |
|
 |
Pestss Guest
Offline
|
Posted: Wed Oct 08, 2003 4:25 pm Post subject: |
 |
|
|
|
Well, I know that it works fine when I tested the API in a regular program, but when adding it to a dll and trying to build gives errors.
Anyone else?  |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 154 page(s) served in previous 5 minutes.
|