Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Modified & Improved wxWidgets Project Wizard
Biplab:
Hi All,
Digging out this old post. ;)
A major change has been applied. The change will affect Additional Libraries addition page. Earlier wizard used to have Two pages, but now it will have only one page.
The single page will look like-
Please check the libraries you want to add to your project.
Another interesting addition is, wizard will now add additional dependencies of few advanced libraries (e.g., wxXrc depends upon wxXml).
Now it will be possible to add an additional target to an existing project.
A major portion of the wizard has been modified. So there could be some bugs. I've fixed bugs which I found.
The update will be available in the next nightly.
Please post bugs if you find them.
Regards,
Biplab
oliver1974:
..Digging out this old thread....
--- Quote ---
-finput-charset=iso-8859-1
(...)
I wonder, why such an important option have to be put manually in the "other options" tab? If you use Unicode, this option is mandatory!
--- End quote ---
Yes, indeed... Is there no way to make this more obvious? (Or is there a solution already
and I didn't see it?)
It took me hours to find this one out.....
00061205:
--- Quote from: basurapr on March 11, 2007, 04:12:18 am ---
--- Quote from: ascxaxsvcbsxbbqvcxqsbcvxs on February 07, 2007, 12:34:15 pm ---
1) I installed CB version 3565 on XP
2) I installed wxWidgets 2.8.0 and compiled it with gcc with unicode => OK
3) use of the wizard to generate a basic application with unicode => compile and execute OK with gcc
4) Then without modifying any CB option anywhere, i just add the special letter é to the title of the windows:
original line, generated by the wizard
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Template"));
modified line, for beginning to test the unicode support
azeFrame* frame = new azeFrame(0L, _("wxWidgets Application Templateé"));
no other modification except this character => i got the compile message "Illegal byte sequence".
5) If i suppress this character => compile OK
6) I've now tried several times with last build 3577 => same problem, but the error message is now
"converting to execution character set: Invalid argument"
--- End quote ---
I was having the same problem,
First goto the menu "Project->Build Options" then click your project name. Inside of your global project settings select "Compiler Settings" then click "Other Options" tab, now in that multiline text control write this:
-finput-charset=iso-8859-1
That will fix the problem compiling the standard Latin characters available in the ascci table: á é í ó ú ñ Ñ É and others I does not remember. :)
--- End quote ---
There is another method to solve this problem which don't need to add "-finput-charset=iso-8859-1" in Other options.
1.Convert your source files which contain the utf-8 characters (eg.á é í ó ú ñ Ñ É 中文) into utf-8 format.
2.Compile the project again in C::B. (Press F9)
tip:Convert method.
1.open editplus.
2.file->open
3.choose source files
4.change the Encoding choose list to UTF-8 (at the bottom of the dialog box) and click open button.
5.file->Save all
now your source files become utf-8 format.
vfdff:
Removed non english content !
Only english postings are allowed.
In the future the post might be silently removed and/or your account locked !!!
Sorry !
Jens
Navigation
[0] Message Index
[*] Previous page
Go to full version