473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

LNK2001 Error Compiling MySQL++ library

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

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

D:\PROGRA~1\mysql\MYSQL_~1.6>c:\progra~1\mingw\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\mysqlpp.dll /DLL /NOLOGO
/LIBPATH:C:\PROGRA~1\MySQL\MYSQLS~1.0\.
..\MYSQL_~1\MYSQL-~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.lib and object debug\mysqlpp.exp
row.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
publi
c: __thiscall std::basic_string<char,struct std::char_traits<char>,class
std::al
locator<char> >::basic_string<char,struct std::char_traits<char>,class
std::allo
cator<char> >(void)"
(__imp_??0?$basic_string@DU?$char_traits@D@std@@V? $allocato
r@D@2@@std@@QAE@XZ)
sql_string.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport
) public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct
std::char_traits<char>,class st
d::allocator<char> >(void)"
(__imp_??0?$basic_string@DU?$char_traits@D@std@@V? $a
llocator@D@2@@std@@QAE@XZ)
coldata.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) p
ublic: __thiscall std::basic_string<char,struct std::char_traits<char>,class
std
::allocator<char> >::basic_string<char,struct std::char_traits<char>,class
std::
allocator<char> >(void)"
(__imp_??0?$basic_string@DU?$char_traits@D@std@@V? $allo
cator@D@2@@std@@QAE@XZ) referenced in function "public: __thiscall
mysqlpp::ColD
(continues for many more...)
Nov 23 '05 #1
0 1839

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

Similar topics

3
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...
0
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...
2
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...
2
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....
5
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...
2
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...
2
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...
6
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.