Branches
Comments
[»]
Can not "make install" to xchm-1.9
by wised - Nov 16th 2006 18:58:18
Hi,friends,
I donwload wxWidgets-2.8 and installed successfully,
and I configure && make xchm-19, also successfully,but when I make
install, encountered the following errors:
chmframe.cpp: In member function `void
CHMFrame::OnChangeFonts(wxCommandEvent&)':
chmframe.cpp:227: error: no match for 'operator*' in
'*wxFontEnumerator::GetFacenames(wxFontEncoding, bool)(0)'
/usr/local/include/wx-2.8/wx/datetime.h:2091: note: candidates are:
wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/local/include/wx-2.8/wx/datetime.h:2097: note:
wxDateSpan operator*(int, const wxDateSpan&)
chmframe.cpp:235: error: no match for 'operator*' in
'*wxFontEnumerator::GetFacenames(wxFontEncoding, bool)(0)'
/usr/local/include/wx-2.8/wx/datetime.h:2091: note: candidates are:
wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/local/include/wx-2.8/wx/datetime.h:2097: note:
wxDateSpan operator*(int, const wxDateSpan&)
chmframe.cpp: In member function `wxPanel*
CHMFrame::CreateContentsPanel()':
chmframe.cpp:733: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:734: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:735: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:736: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:737: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:738: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
chmframe.cpp:739: error: invalid use of undefined type `struct
wxImageList'
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward
declaration of `struct wxImageList'
make[1]: *** [chmframe.o] 错误 1
make[1]: Leaving directory `/home/wym/download/xchm-1.9/src'
make: *** [install-recursive] 错误 1
Why? if I can not use wx-2.8>and must use wx-2.6?
Thanks
[reply]
[top]
[»]
Re: Can not "make install" to xchm-1.9
by Razvan Cojocaru - Nov 17th 2006 03:21:11
That's just been fixed in 1.10. Download the new version.
[reply]
[top]
[»]
Re: Can not "make install" to xchm-1.9
by wised - Nov 20th 2006 17:33:32
> That's just been fixed in 1.10. Download
> the new version.
Thanks a lot!
I got it.
Now, I have another Q:
After I installed, and run xchm,I got following lines:
(process:23251): Gdk-WARNING **: locale not supported by C library
(xchm:23251): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
ais200-RAYSLX:/home/wym/download/xchm-1.10# xchm
(process:23285): Gdk-WARNING **: locale not supported by C library
(xchm:23285): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
And also a messgae windows said: Can not set locale to:.
I don't understand what is wrong I made, even I run as root, also
same.
Thanks
[reply]
[top]
[»]
Re: Can not "make install" to xchm-1.9
by Razvan Cojocaru - Nov 27th 2006 06:46:05
That's a wxGTK problem.
Please don't start questions threads here, THIS IS NOT A SUPPORT FORUM.
There is a forum at the project's SourceForge.net page. You can use that
for asking for help, but STOP ASKING HERE. I've said this before but
apparently nobody bothers to read the stuff - even if it could have
answered their questions. Oh the joy.
[reply]
[top]
[»]
how to solve this problem ? (about simplified chinese)
by Shen Ning - Sep 5th 2006 20:42:44
My system is centos 4.4, and using x86 platform.
I download chmlib 0.38 & wxGTK 2.6.3, and compiled the wxGTK with this
options: --with-gtk --enable-unicode.
Now, when I open an simplified chinese CHM file, it notice that
"不能从字符集'Windows繁体中文(CP950)'转换".
which means that "could not convert from fonts 'windows traditional
chinese'".
And, I press "OK", it could open the file. The main window
display correctlly, but the index window show me correpted fonts.
How can I ask xchm check the chm file with simplified chinese first ?
[reply]
[top]
[»]
Beautiful
by gleather - Mar 1st 2006 11:12:23
Exactly what I needed. Works beautifully.
I'm using Slackware 10.2 and had no problems adding the dependencies
(htmldoc, chmlib, wxGTK).
-- get slack or get bent
[reply]
[top]
[»]
PEAR manual CHM in XCHM
by vanya - Oct 1st 2004 08:28:15
Another one thing: try to open PEAR manual CHM version (you can get it
here). Now look at the contents and index - the font is soo small.
[reply]
[top]
[»]
Re: PEAR manual CHM in XCHM
by vanya - Oct 1st 2004 08:29:54
PEAR manual URL:
http://pear.php.net/distributions/manual/chm/pear_manual_en.chm
[reply]
[top]
[»]
Re: PEAR manual CHM in XCHM
by Razvan Cojocaru - Oct 12th 2004 07:16:12
There are two points I'd like to make:
1. That's not really a consistent bug report since you haven't specified
your operating system, chmlib version, wxGTK version, and whether your
wxGTK has been compiled with GTK2/Unicode support.
2. Please use the SourceForge project page for these kinds of things.
There's a nice bug tracker there, support request forms and all that. I
don't really visit this page except when I add new releases.
That being said, that's not technically a bug either. Just your system
(some Linux, I assume) trying it's best to map Windows font infomation to
the best match available (which in your case turns out to be not that
good). It's pretty much the best I can do about that.
[reply]
[top]
[»]
External HTTP links takes a VERY long time to load in XCHM
by vanya - Oct 1st 2004 08:01:44
This problem arised after switching from XCHM 0.9.2 to 0.9.5.
XCHM was compiled with all the configure script defaults.
Is this a bug?
[reply]
[top]
[»]
Re: External HTTP links takes a VERY long time to load in XCHM
by Razvan Cojocaru - Oct 12th 2004 06:50:43
Not a bug, no. It's just a coincidence that you're now using 0.9.5 and it
seems slower. Nothing that could possibly contribute to that was modified
in the code.
It's just that the default http:// support in wxWidgets seems to be very
slow.
But then again, xCHM wasn't meant to browse the Internet. It's just a
modest GUI frontend to CHMLIB meant for reading chm books in decent
conditions (w/o having to unpack them, etc.).
[reply]
[top]
[»]
Arabic support
by Ahmed El-Mahmoudy - Jul 28th 2004 08:47:30
I tried to open an arabic CHM file using CHM. But I
found 2 problems:
1. in the contents pane, the subtitles appear in
wierd character set instead of arabic.
2. in the main, the arabic appears but
left-to-right, instead of right-to-left, also the
characters are not joined, maybe this has to do
with left-to-right problem.
[reply]
[top]
[»]
Re: Arabic support
by Razvan Cojocaru - Sep 2nd 2004 01:36:15
Sorry, but since I don't know how to read or speak your language, I'm
afraid the fix needs to be done by a programmer able to do that.
[reply]
[top]
[»]
Re: Arabic support
by Ahmed El-Mahmoudy - Sep 2nd 2004 06:01:04
1. xCHM 0.9.4 doesn't compile with wxGTK 2.5.2. It
compiles with wxGTK 2.4.2.
2. After compiling xCHM-0.9.4 with wxGTK 2.4.2. I
found that the arabic problem in the main pane is
partially fixed in this release. I mean, that
characters in each arabic word are displayed from
right to left & joined too. Yet the words are in
incorrect order, meaning that words are still left
to right still instead of right to left.
3. The problem of the contents pane is still the
same.
I have posted screenshots on the web for the
situation:
1] A correct view of an arabic CHM file:
http://ptgnlfsr.sourceforge.net/correctCHM.gif
2] How xchm prior to 0.9.4 release viewed an arabic
CHM file in the main pane:
http://ptgnlfsr.sourceforge.net/xchm1.gif
3] How xchm-0.9.4 views an arabic CHM file in main
pane:
http://ptgnlfsr.sourceforge.net/xchm-0.94.gif
4] How xchm views contents of an arabic CHM file in
contents pane:
http://ptgnlfsr.sourceforge.net/xchm2.gif
Note:
1] I tested with both chmlib-0.35 &
chmlib-0.33.
2] I used the following options for
wxGTK-2.4.2: --enable-gtk2 --enable-unicode
--enable-fontmap
[reply]
[top]
[»]
Re: Arabic support
by Razvan Cojocaru - Sep 2nd 2004 23:54:19
That's very weird, because I compiled xCHM 0.9.4 with wxGTK-2.5.2 and it
worked. That's what I tested it with.
But I did receive a bug report from someone using gcc-3.4 who said it
didn't compile because of a comparison between an int and a wxTreeItemId. I
fixed that comparison and replaced the tarball on SourceForge. Please,
download again and try with wxGTK-2.5.2.
I'll look into the arabic fonts problem, but I can't promise it's fixable;
and actually I can't say anything, because you haven't provided me with the
.chm file in question so I have nothing to test with. It is possible that
xCHM is unable to interpret the fonts information correctly on UNIX, pure
and simple. Remember that I only have chmlib and Pabs' chmspec document to
work with, and they're both unofficial. xCHM is just a crummy hacked viewer
for dumb chms. It can't even handle .mht .chm files or complicated html
pages :-).
[reply]
[top]
[»]
Re: Arabic support
by Ahmed El-Mahmoudy - Oct 21st 2004 07:20:43
Here's a link to an arabic CHM file, the main pane
is in arabic, I'll upload a file which has arabic
in contents pane later.
http://www.guzelislam.com/chm/kuran/KoranArabic.chm
> I'll look into the arabic fonts problem,
> but I can't promise it's fixable; and
> actually I can't say anything, because
> you haven't provided me with the .chm
> file in question so I have nothing to
> test with. It is possible that xCHM is
> unable to interpret the fonts
> information correctly on UNIX, pure and
>
[reply]
[top]
[»]
Re: Arabic support
by Razvan Cojocaru - Sep 3rd 2004 00:06:16
Oh, and I don't really control the main pane. That's a wxHtmlWindow derived
control, and the logic running through that is wxWidgets'. So that's a bug
for a wxWidgets people, not xCHM. The only thing that is possibly fixable
(and we don't even know that) is the content tree/index pane.
[reply]
[top]
[»]
Re: Arabic support
by Ahmed El-Mahmoudy - Oct 21st 2004 07:26:03
I see, isn't it possible that there is some
property of that widget for left-to-right,
right-to-left rendering and for character joining ?
> Oh, and I don't really control the main
> pane. That's a wxHtmlWindow derived
> control, and the logic running through
> that is wxWidgets'. So that's a bug for
> a wxWidgets people, not xCHM. The only
> thing that is possibly fixable (and we
> don't even know that) is the content
> tree/index pane.
[reply]
[top]
[»]
Re: Arabic support
by Ahmed El-Mahmoudy - Oct 22nd 2004 07:56:14
Here's a CHM file with arabic in the contents pane
and also in the main pane:
http://ptgnlfsr.sourceforge.net/content.chm
[reply]
[top]
[»]
Re: Arabic support
by Razvan Cojocaru - Aug 29th 2005 13:48:12
> Here's a CHM file with arabic in the
> contents pane
> and also in the main pane:
>
> http://ptgnlfsr.sourceforge.net/content.chm
Ok I managed to hack around and make the content tree pane display what I
suspect to be :-) correct Arabic characters. Unfortunately I don't know if
the order is right (still left-to-right?) and I don't really know how to
fix it. You can try with xCHM 1.2 and see if it's better. I would really
like it to work properly but unfortunately I'm working blind regarding this
issue since I can't really understand anything written there :-/.
[reply]
[top]
[»]
Re: Arabic support
by Ahmed El-Mahmoudy - Nov 11th 2005 22:33:01
Sorry I was away for a while,
ok, I installed wxgtk-2.6.2 & xchm-1.2, each
arabic word is displayed correct by itself, ie.
the letters in each word are right to left, the
problem is that the words in the line are left to
right, ie: the first word in the line is at the
left and on its right is the next arabic word in
the sentence and so on. It should be the other
way, meaning that the first arabic word should be
on the right, and the next word to it's left & so
on...
[reply]
[top]
[»]
Re: Arabic support
by Razvan Cojocaru - Dec 7th 2005 04:11:25
> the problem is that the words in the line
> are left to right, ie: the first word in the line is
> at the left and on its right is the next arabic
> word in the sentence and so on.
I see. I'm sorry, but it's impossible for me to fix that. That is a
wxHtmlWindow bug. Please report this bug to the wxWidgets maintainers at
http://sourceforge.net/bugs/?group_id=9863.
[reply]
[top]
|