944,172 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 781
  • C++ RSS
Nov 3rd, 2009
0

wxDB classes

Expand 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
Similar Threads
Reputation Points: 34
Solved Threads: 0
Newbie Poster
mevkurray is offline Offline
15 posts
since Jun 2009
Nov 3rd, 2009
0
Re: wxDB classes
Click to Expand / Collapse  Quote originally posted by mevkurray ...
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
Reputation Points: 34
Solved Threads: 0
Newbie Poster
mevkurray is offline Offline
15 posts
since Jun 2009
Nov 14th, 2009
1
Re: wxDB classes
Click to Expand / Collapse  Quote originally posted by mevkurray ...
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
Reputation Points: 34
Solved Threads: 0
Newbie Poster
mevkurray is offline Offline
15 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: CreateProcess from a DLL
Next Thread in C++ Forum Timeline: how to find number of integers in a number





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC