Code::Blocks Forums

User forums => Help => Topic started by: wuxian610 on November 29, 2005, 04:16:11 am

Title: How make a UNICODE build of wxWidgets[solved]
Post by: wuxian610 on November 29, 2005, 04:16:11 am
Hi, experts:

             How could I make a UNICODE build of wxWidgets?
             Thanks!
Title: Re: How make a UNICODE build of wxWidgets
Post by: rickg22 on November 29, 2005, 04:37:55 am
http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#wxWidgets_2.6.1_build

Maybe you need to change some of the things in there... since we're dealing with wxwidgets 2.6.2 now... but i think it applies.
Title: Re: How make a UNICODE build of wxWidgets
Post by: Ceniza on November 29, 2005, 04:46:36 am
The trick is just to pass UNICODE=1 to make instead of UNICODE=0.
Title: Re: How make a UNICODE build of wxWidgets
Post by: wuxian610 on November 29, 2005, 07:26:19 am
Thank you~
Title: Re: How make a UNICODE build of wxWidgets
Post by: wuxian610 on November 29, 2005, 11:40:23 am
HI, rickg22;
           I did as you told me, now it can work. but:
           When I run the C:B(rc2), the "CodeBlocks" pops up,  saying: ....undefined symbol: _ZN13DebuggerState7CleanUpEv.
           The details:
                       /usr/local/share/codeblocks/plugins/libdebuggergdb.so: undefined symbol: _ZN13DebuggerState7CleanUpEv
                      /usr/local/share/codeblocks/plugins/libcompiler.so: undefined symbol:
                                                                          _ZN11EditPairDlgC1EP8wxWindowR8wxStringS3_RKS2_NS_10BrowseModeEv

          And the menu of the interface contains: File  Edit  View  Search  Project  wxSmith   Tools  Plugins  Settings  Help,
but ....where are  the "Debug" and the "Run" ?

         Can anyone give me a hand??Thanks!~
                                                                                                                                    yours
Title: Re: How make a UNICODE build of wxWidgets
Post by: rickg22 on November 29, 2005, 04:30:40 pm
Um, I don't know :( I only compiled in unicode mode once... :oops:
Title: Re: How make a UNICODE build of wxWidgets
Post by: MortenMacFly on November 29, 2005, 09:42:51 pm
Can anyone give me a hand??Thanks!~
I guess I'm getting it wrong but just in case:
Do you try to run the RC2 binary build with self-compiled (unicode enabled) wxWidgets libraries? This won't work unless you also recompile the complete RC2 (or the current svn build) from the sources.

Morten.
Title: Re: How make a UNICODE build of wxWidgets
Post by: cyberkoa on November 29, 2005, 10:02:31 pm
Blaubaer have give a solution for you
http://forums.codeblocks.org/index.php?topic=1495.msg10642;topicseen#msg10642

it should be the outdated makefile which does not include in the latest SVN.
Title: Re: How make a UNICODE build of wxWidgets
Post by: wuxian610 on November 30, 2005, 02:55:50 am
Thanks, cyberkoa:

                 I have got it!
                 Thank you all!             :lol:(@V@)