wxDB classes

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 14
Reputation: mevkurray is an unknown quantity at this point 
Solved Threads: 0
mevkurray's Avatar
mevkurray mevkurray is offline Offline
Newbie Poster

wxDB classes

 
0
  #1
22 Days Ago
hi all

using ubuntu here, and the default setup (straight from synaptic) of wxwidgets has the wxDB classes disabled.

so, how does one rebuild the actual libraries of wxwigets, once ive edited the setup.h files.

and which setup.h files do i need to edit. i found what i was looking for in:

/usr/lib/wx/include/base-unicode-debug-2.8/wx/setup.h
/usr/lib/wx/include/base-unicode-release-2.8/wx/setup.h

are they the only ones.

the problem ive been getting is whenever i use (even correctly) any member of the wxDb group of classes, the linker gives an error similar to:

/home/kevin/Programming/Active/SeedBank/ReviewEntry.cpp|494|undefined reference to `wxDbConnectInf::wxDbConnectInf()'

im assuming that this is because these are set to zero:

(in /usr/lib/wx/include/base-unicode-debug-2.8/wx/setup.h)

#define wxUSE_ODBC 0

#define wxODBC_FWD_ONLY_CURSORS 0

#define wxODBC_BACKWARD_COMPATABILITY 0



thanks in advance

Kev
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 14
Reputation: mevkurray is an unknown quantity at this point 
Solved Threads: 0
mevkurray's Avatar
mevkurray mevkurray is offline Offline
Newbie Poster
 
0
  #2
21 Days Ago
Originally Posted by mevkurray View Post
hi all

using ubuntu here, and the default setup (straight from synaptic) of wxwidgets has the wxDB classes disabled.

so, how does one rebuild the actual libraries of wxwigets, once ive edited the setup.h files.

and which setup.h files do i need to edit. i found what i was looking for in:

/usr/lib/wx/include/base-unicode-debug-2.8/wx/setup.h
/usr/lib/wx/include/base-unicode-release-2.8/wx/setup.h

are they the only ones.

the problem ive been getting is whenever i use (even correctly) any member of the wxDb group of classes, the linker gives an error similar to:

/home/kevin/Programming/Active/SeedBank/ReviewEntry.cpp|494|undefined reference to `wxDbConnectInf::wxDbConnectInf()'

im assuming that this is because these are set to zero:

(in /usr/lib/wx/include/base-unicode-debug-2.8/wx/setup.h)

#define wxUSE_ODBC 0

#define wxODBC_FWD_ONLY_CURSORS 0

#define wxODBC_BACKWARD_COMPATABILITY 0



thanks in advance

Kev

Seems i ve figured it out for myself. easiest to reinstall the wxwidgets libraries (yep, all of them) from the sources. then just use the ./configure options as required.


cheers
Kev
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 14
Reputation: mevkurray is an unknown quantity at this point 
Solved Threads: 0
mevkurray's Avatar
mevkurray mevkurray is offline Offline
Newbie Poster
 
1
  #3
11 Days Ago
Originally Posted by mevkurray View Post
Seems i ve figured it out for myself. easiest to reinstall the wxwidgets libraries (yep, all of them) from the sources. then just use the ./configure options as required.


cheers
Kev
Scrap all that. they dont work and are no longer supported
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC