Hello, apparently the wxWidget packages from debian are compiled only for work with Unicode versions, I really don't agree with this because I have a lot of code wrote that doesn't work with Unicode.
But the are another problem, I can show the problem with the "db" example from the debian package wx2.6-examples. If you go inside the directory "/usr/share/doc/wx2.6-examples/examples/samples/db" and try compile it you get the next errors:
db : make
g++ -c `wx-config --cxxflags` -o dbtest.o dbtest.cpp
dbtest.cpp:74:4: error: #error Sample cannot be compiled unless setup.h has wxUSE_ODBC set to 1
dbtest.cpp: In member function 'bool DbGridFrame::Initialize()':
dbtest.cpp:3339: error: 'wxDbGridColInfo' was not declared in this scope
dbtest.cpp:3339: error: 'cols' was not declared in this scope
dbtest.cpp:3340: error: expected type-specifier before 'wxDbGridColInfo'
dbtest.cpp:3340: error: expected `;' before 'wxDbGridColInfo'
dbtest.cpp:3398: error: 'wxDbGridTableBase' was not declared in this scope
dbtest.cpp:3398: error: 'db' was not declared in this scope
dbtest.cpp:3398: error: expected type-specifier before 'wxDbGridTableBase'
dbtest.cpp:3398: error: expected `;' before 'wxDbGridTableBase'
dbtest.cpp:3400: error: type '' argument given to 'delete', expected pointer
make: *** [dbtest.o] Error 1
Any Idea what happen here?
Thank you,
Gustavo
--
Bookmark/Search this post with:
wx2.6-examples
On Tue, May 01, 2007 at 12:49:09AM +0300, gustavo halperin wrote:
> Hello, apparently the wxWidget packages from debian are compiled only for
> work with Unicode versions, I really don't agree with this because I have a
Would it solve your problem if you rebuilt the package with this option
disabled, if that's possible?
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|