| | |
wxDB classes
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
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
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
0
#2 21 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
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
![]() |
Similar Threads
- Classes and Linked Nodes (C++)
- need idea for project using classes and inheritance (C++)
- How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic? (Visual Basic 4 / 5 / 6)
- Help with Classes (C++)
- Understanding classes (C++)
- Working with objects of different Classes (Java)
- Classes (C++)
- Summer Classes (Geeks' Lounge)
Other Threads in the C++ Forum
- Previous Thread: CreateProcess from a DLL
- Next Thread: how to find number of integers in a number
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





