473,769 Members | 5,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LNK2001 Error Compiling MySQL++ library

I'm getting link errors trying to compile the mysql++ library. Can anyone
help?

=============== ===========

D:\PROGRA~1\mys ql\MYSQL_~1.6>c :\progra~1\ming w\bin\mingw32-make | more
cd lib && c:/progra~1/mingw/bin/mingw32-make BIN_DIR=debug all example_setup
mingw32-make[1]: Entering directory `D:/PROGRA~1/mysql/MYSQL_~1.6/lib'
link /OUT:debug\mysql pp.dll /DLL /NOLOGO
/LIBPATH:C:\PROG RA~1\MySQL\MYSQ LS~1.0\.
..\MYSQL_~1\MYS QL-~1.15\libmysql\ debug libmysql.lib /DEBUG debug/coldata.obj
deb
ug/connection.obj debug/datetime.obj debug/field_names.obj
debug/field_types.obj
debug/fields.obj debug/manip.obj debug/myset.obj debug/qparms.obj
debug/query.o
bj debug/result.obj debug/row.obj debug/sql_string.obj debug/string_util.obj
deb
ug/type_info.obj debug/vallist.obj
Creating library debug\mysqlpp.l ib and object debug\mysqlpp.e xp
row.obj : error LNK2001: unresolved external symbol "__declspec(dll import)
publi
c: __thiscall std::basic_stri ng<char,struct std::char_trait s<char>,class
std::al
locator<char> >::basic_string <char,struct std::char_trait s<char>,class
std::allo
cator<char> >(void)"
(__imp_??0?$bas ic_string@DU?$c har_traits@D@st d@@V?$allocato
r@D@2@@std@@QAE @XZ)
sql_string.obj : error LNK2001: unresolved external symbol
"__declspec(dll import
) public: __thiscall std::basic_stri ng<char,struct
std::char_trait s<char>,class
std::allocator< char> >::basic_string <char,struct
std::char_trait s<char>,class st
d::allocator<ch ar> >(void)"
(__imp_??0?$bas ic_string@DU?$c har_traits@D@st d@@V?$a
llocator@D@2@@s td@@QAE@XZ)
coldata.obj : error LNK2019: unresolved external symbol
"__declspec(dll import) p
ublic: __thiscall std::basic_stri ng<char,struct std::char_trait s<char>,class
std
::allocator<cha r> >::basic_string <char,struct std::char_trait s<char>,class
std::
allocator<char> >(void)"
(__imp_??0?$bas ic_string@DU?$c har_traits@D@st d@@V?$allo
cator@D@2@@std@ @QAE@XZ) referenced in function "public: __thiscall
mysqlpp::ColD
(continues for many more...)
Nov 23 '05 #1
0 1864

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6078
by: We need more power captain | last post by:
Hi, I know less than a noob, I've been asked to do some compiles in VC++ 6 without knowing too much at all. (I'm a COBOL program normally so this is all too much for me) I open VC++6, open the workspace and then: Build>Batch Build
0
838
by: keith | last post by:
In an managed assembly class, I need to use malloc() and other C functions. But when compiling, it generated errors like error LNK2001: unresolved external symbol "void * __cdecl malloc(unsigned int)" (?malloc@@$$J0YAPAXI@Z) HashCPP error LNK2001: unresolved external symbol "unsigned int __cdecl wcstombs(char *,unsigned short const *,unsigned int)" (?wcstombs@@$$J0YAIPADPBGI@Z) If change Configuration Type from Dynanic Library (.dll)...
2
1779
by: Ian Taite | last post by:
Help, I am trying to nail a linking problem, to avoid having to lose about 2 weeks work. I have a backup of my project that compiles and links OK however changes I made sometime since then have resulted in the solution not linking with the error below. The solution comprises of six projects. Five are static library projects which compile ok. The sixth is an EXE than needs to link in the other five .lib files. In the evidence below,...
2
5284
by: rangalo | last post by:
Hi All, I have succeeded in compiling a massive project, originally from vc6 to VS .Net 2005. Now, while linking I am having loads of linker errors with the above code. LNK20019 and LNK2001. Giving error msg that some symbol is not found. Actually, the library with the symbol has been already compiled as dll. here is the buildlog of one of the projects in the solution. I also attach the implementation of a small class which is referenced...
5
2850
by: eberesche | last post by:
Hello, as a novice in ASN.1 I have me to a project in C ++ under use of ASN.1 - structures risquély. One of my colleagues means, this would deal something with masochism ;-). Result should be a DLL which provides the exchange of documents between a DMS and a remote data base. My developing environment is MSVS v.7.1, and the ASN.1 - source texts are generated with the compiler asn1c-0.9.20. Therefore I have in the project cpp-, as well as c...
2
3000
by: Angus | last post by:
Hello I am using some classes from a third party and have included them in my projecxt and am compiling and linking with them. Everything compiles ok but I get these link errors: I added all your files to my project and recompiled. Now everything compiles as before but get these link errors:
2
7151
by: Maydogg6 | last post by:
I need a hand with some stubborn link errors. I'm trying to recreate and old program from 6.0 into .NET, but for some reason when I try to compile I'm getting linking errors for all my function calls that deal with sockets. I've included <winsock2.h> in stdafx.h and I linked to ws2_32.lib by going to project properties->linker->general->additional library directories and typing in ws2_32.lib. Am I missing some include files or have the...
6
3215
by: walkerfx | last post by:
Hi Everyone, I have been trying resolve this issue for many hours and am not making any progress. I have a DLL that I'm updating with some new 3rd party libraries. However, there appears to be a conflict causing the following link errors: ------------ error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??_V@YAXPAX@Z) error LNK2001: unresolved external symbol __ftol2
0
2708
by: Ryan Gaffuri | last post by:
hlink72@hotmail.com (Eric) wrote in message news:<ab8d8b14.0308220550.54fb5f22@posting.google.com>... LNK1120 is a standard C++ error. you using Visual C++? Means your references a class that doesnt exist or something similiar to that. explanation on microsoft.com its not an oracle specific problem.
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.