Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Linker error undefined reference to wxDb::XXX

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Linker error undefined reference to wxDb::XXX
#2414
Posted by: 2003-07-29 19:53:06
Hi Evereybody
I use DEV C++ 4.9.8.0 and wxWindows 2.4.1. If I create a new wxWindows gui application it works but if I want to build an application which uses wxDb or wxDbConnectInf classes I get the message:
 
[Linker error] undefined reference to `wxDbConnectInf::wxDbConnectInf()'
...
for all wxDb... class members. The compilation seems OK. Could someone help me?


Thanks: Krisztian

Message2. Re: Linker error undefined reference to wxDb::XXX
#2415
Posted by: 2003-07-29 21:31:24
did you compile wxWindows with odbc support?

http://www.wxwindows.org/manuals/2.4.0/wx497.htm#wxodbccompiling
Message3. Re: Linker error undefined reference to wxDb::XXX
#2416
Posted by: 2003-07-29 22:16:41
I have already done it, at my

/dev-cpp/include/wx/setup.h file I set (three times)

#define wxUSE_ODBC          1

but it did not help me. :(
Message4. Re: Linker error undefined reference to wxDb::XXX
#2417
Posted by: guidance 2003-07-30 01:03:40
He means compiling the library, not your code.
May try this pre-compiled lib: http://g.yi.org/_scripts/file.php?f=2618&r=46#3587
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-4-18  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0