News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxGTK unicode support

Started by Anonymous, June 25, 2005, 10:54:58 AM

Previous topic - Next topic

Anonymous

Why does wxWidgets have to be built with no unicode support? What would be even better is if somebody could explain to me how unicode support breaks Code::Blocks so I can dive into the source and try and create a patch.  I would love to try Code::Blocks, but I can't think of an application that I've worked on in the past three years that I haven't used unicode support.  IMHO unicode should be the standard.

Anonymous

Just in case it helps, this is what I get when building.
sbunn@portable ~/sandbox/codeblocks/codeblocks-1.0-finalbeta/src $ make -f Makefile.unix.wx2.6 clean
Cleaning target tinyXML...
Cleaning target sdk...
Cleaning target src...
Cleaning target plugin_Astyle...
Cleaning target plugin_CompilerGCC...
Cleaning target plugin_DebuggerGDB...
Cleaning target plugin_CodeCompletion...
Cleaning target plugin_ClassWizard...
Cleaning target plugin_DefMimeHandler...
Cleaning target plugin_PluginsWizard...
Cleaning target plugin_ToDo...
Cleaning target plugin_XPManifest...
Cleaning target console_runner...
sbunn@portable ~/sandbox/codeblocks/codeblocks-1.0-finalbeta/src $ make -f Makefile.unix.wx2.6
Compiling sdk/tinyxml/tinystr.cpp...
Compiling sdk/tinyxml/tinyxml.cpp...
Compiling sdk/tinyxml/tinyxmlerror.cpp...
Compiling sdk/tinyxml/tinyxmlparser.cpp...
Linking static library sdk/tinyxml/libtxml.a...
ar: creating sdk/tinyxml/libtxml.a
ranlib sdk/tinyxml/libtxml.a
Compiling sdk/Managers/Managers.cpp...
In file included from sdk/Managers/../projectbuildtarget.h:5,
                from sdk/Managers/../cbproject.h:10,
                from sdk/Managers/../editormanager.h:15,
                from sdk/Managers/StdAfx.h:18,
                from sdk/Managers/Managers.cpp:4:
sdk/Managers/../globals.h:63: error: default argument for `const wxString&separator' has type `const char[2]'
sdk/Managers/../globals.h:64: error: default argument for `const wxString&separator' has type `const char[2]'
make: *** [.objs/sdk/Managers/Managers.o] Error 1
sbunn@portable ~/sandbox/codeblocks/codeblocks-1.0-finalbeta/src $ emerge -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.6.0-r1  -debug +doc +gnome +gtk2 -joystick +jpeg -odbc +opengl +png +sdl +tiff +unicode -wxgtk1 0 kB

Urxae

Unicode support is something that's currently being worked on, see several threads in the development section of the forums.