News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Como uso las wxDB

Started by perrofeo, November 30, 2005, 10:51:18 PM

Previous topic - Next topic

perrofeo

se supone que ya puse el en el setup.h el

#define wxUSE_ODBC          1 y no funciona ni en DEVC ni en CODEBLOCKS ??????????
que hago, lo puse en otra maquina y funciono, obviamente linkeando los archivos necesarios??????????

Linking executable: C:\Dev-Cpp\FerreteriaV1\wxWidgets.exe
.objs\FerreteriaFrm.o:ferreteriaFrm.cpp:(.text+0x515d): undefined reference to `wxDb::GetNext()'
.objs\FerreteriaFrm.o:ferreteriaFrm.cpp:(.text+0x5ef6): undefined reference to `wxDb::GetNext()'
.objs\FerreteriaFrm.o:ferreteriaFrm.cpp:(.text+0x66a7): undefined reference to `wxDb::GetNext()'
.objs\consultas.o:consultas.cpp:(.text+0xe8): undefined reference to `wxDbConnectInf::wxDbConnectInf(void*, wxString const&, wxString const&, wxString const&, wxString const&, wxString const&, wxString const&)'
.objs\consultas.o:consultas.cpp:(.text+0x157): undefined reference to `wxDbConnectInf::SetDsn(wxString const&)'
.objs\consultas.o:consultas.cpp:(.text+0x189): undefined reference to `wxDbConnectInf::SetUserID(wxString const&)'
.objs\consultas.o:consultas.cpp:(.text+0x1bb): undefined reference to `wxDbConnectInf::SetPassword(wxString const&)'
.objs\consultas.o:consultas.cpp:(.text+0x229): undefined reference to `wxDb::wxDb(void* const&, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x260): undefined reference to `wxDb::wxDb(void* const&, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x297): undefined reference to `wxDb::wxDb(void* const&, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x2bb): undefined reference to `wxDb::Open(wxDbConnectInf*, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x2e4): undefined reference to `wxDb::Open(wxDbConnectInf*, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x30d): undefined reference to `wxDb::Open(wxDbConnectInf*, bool)'
.objs\consultas.o:consultas.cpp:(.text+0x33d): undefined reference to `wxDb::Close()'
.objs\consultas.o:consultas.cpp:(.text+0x34a): undefined reference to `wxDb::Close()'
.objs\consultas.o:consultas.cpp:(.text+0x357): undefined reference to `wxDb::Close()'

rickg22

Perrofeo: Disculpa, este es un foro donde se habla el inglés.
(Translation: Perrofeo: Sorry, this is an english-spoken forum).

now, regarding your question:

The #define wxUSE_ODBC must be applied BEFORE compiling wxWidgets. You might ask in the wxwidgets forums on how to enable it.

mandrav

perrofeo: only English here please...
Be patient!
This bug will be fixed soon...