473,288 Members | 1,794 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,288 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 1834

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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.