User forums > Using Code::Blocks
Code::Blocks doesn't compile on Ubuntu Linux with wx 2.5
Funto:
Wooow there even will be a SCons support O_o
That's amazing, it's the best IDE I know...:)
I've just imported my existing SCons-Linux/VC++-Windows project under Code::Blocks, no problem, the importer works well...congrats ;)
--- Quote ---did you install wx2.5.3 with apt-get?
--- End quote ---
Yes, I did.
--- Quote ---Because I have yet to see a binary wx package supporting gtk2 (C::B only supports gtk2)...
--- End quote ---
Under Ubuntu, the wx-2.4 package only supports GTK1 and is compiled in ANSI mode while the wx-2.5 package uses Unicode and GTK2.
Well, I think I will compile wx 2.6/GTK2 by myself and install it in ANSI mode...
rickg22:
--- Quote from: mandrav on July 25, 2005, 06:55:43 pm ---PS: I use Ubuntu 5.04 too and I 'm *thinking* of releasing a .deb for it.
--- End quote ---
I vote for that one! :)
Funto:
Just a tip about porting to Unicode : wxString::c_str() and wxString::fn_str() are different, c_str() is used when passing argument to a wx function/method while fn_str() is used when passing it to normal C functions.
Funto:
There isn't any "--disable-unicode" option in wxGTK2.6's ./configure !
If I want to compile it under Linux it seems that I have to use the old wxGTK 2.4...
mandrav:
--- Quote from: Funto on July 26, 2005, 01:40:17 am ---There isn't any "--disable-unicode" option in wxGTK2.6's ./configure !
If I want to compile it under Linux it seems that I have to use the old wxGTK 2.4...
--- End quote ---
I don't use any unicode switch in the configure line and it compiles as ansi.
I think you must explicitely use --enable-unicode...
Yiannis.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version