Closed GoogleCodeExporter closed 9 years ago
give me the sample chm file, thanks.
Original comment by lidaob...@gmail.com
on 12 Apr 2009 at 6:41
Hey I think I found the problem.
The image filename has a semicolon in between and xulrunner wants it changed to
a %3B
in the URL.
I tried opening chmsee's generated url in firefox and I got a 'file not found'
error.
Then I replaced the semicolon with %3B and it worked.
So this problem is in the chm and not in chmsee.
Original comment by abhinav....@gmail.com
on 12 Apr 2009 at 7:32
check this issue: http://code.google.com/p/chmsee/issues/detail?id=12
it has been fixed in chmsee 1.0.4
Original comment by lidaob...@gmail.com
on 12 Apr 2009 at 7:36
Strange. The latest git won't compile. Am I missing any dependencies ?
[ 3%] Building CXX object src/CMakeFiles/chmseelib.dir/gecko_utils.cpp.o
In file included from /usr/include/xulrunner-1.9/unstable/nsrootidl.h:11,
from /usr/include/xulrunner-1.9/unstable/nsISupports.h:10,
from /usr/include/xulrunner-1.9/unstable/nsIWebBrowser.h:10,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_glue.cpp:43,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:46:
/usr/include/xulrunner-1.9/unstable/nscore.h:117:1: warning: "NS_HIDDEN"
redefined
In file included from /home/abhinav/Desktop/chmsee/src/gecko_utils.h:44,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:42:
/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:57:1: warning: this is the
location
of the previous definition
In file included from /usr/include/xulrunner-1.9/unstable/nsrootidl.h:11,
from /usr/include/xulrunner-1.9/unstable/nsISupports.h:10,
from /usr/include/xulrunner-1.9/unstable/nsIWebBrowser.h:10,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_glue.cpp:43,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:46:
/usr/include/xulrunner-1.9/unstable/nscore.h:206:1: warning: "NS_IMPORT_"
redefined
In file included from /home/abhinav/Desktop/chmsee/src/gecko_utils.h:44,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:42:
/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:64:1: warning: this is the
location
of the previous definition
In file included from /usr/include/xulrunner-1.9/unstable/nsrootidl.h:11,
from /usr/include/xulrunner-1.9/unstable/nsISupports.h:10,
from /usr/include/xulrunner-1.9/unstable/nsIWebBrowser.h:10,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_internal.h:41,
from /usr/include/xulrunner-1.9/unstable/gtkmozembed_glue.cpp:43,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:46:
/usr/include/xulrunner-1.9/unstable/nscore.h:208:1: warning: "NS_EXPORT_"
redefined
In file included from /home/abhinav/Desktop/chmsee/src/gecko_utils.h:44,
from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:42:
/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:63:1: warning: this is the
location
of the previous definition
In file included from /home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:71:
/usr/include/utils.h: In function ‘char* copystring(const char*)’:
/usr/include/utils.h:89: error: invalid conversion from ‘void*’ to
‘char*’
/usr/include/utils.h: In function ‘char* catstring(char*, const char*)’:
/usr/include/utils.h:99: error: invalid conversion from ‘void*’ to
‘char*’
/usr/include/utils.h:101: error: invalid conversion from ‘void*’ to
‘char*’
/home/abhinav/Desktop/chmsee/src/gecko_utils.cpp: In function ‘nsresult
gecko_utils_init_prefs()’:
/home/abhinav/Desktop/chmsee/src/gecko_utils.cpp:186: error:
‘get_resource_path’ was
not declared in this scope
make[2]: *** [src/CMakeFiles/chmseelib.dir/gecko_utils.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/chmseelib.dir/all] Error 2
make: *** [all] Error 2
Original comment by abhinav....@gmail.com
on 12 Apr 2009 at 8:04
fixed, please retry.
http://github.com/lidaobing/chmsee/commit/850405f48ecf0d3a545743abff4d61252152d4
59
Original comment by lidaob...@gmail.com
on 12 Apr 2009 at 8:15
Thanks. Compiled and working.
Original comment by abhinav....@gmail.com
on 12 Apr 2009 at 8:24
Original comment by lidaob...@gmail.com
on 13 Apr 2009 at 7:41
Original issue reported on code.google.com by
abhinav....@gmail.com
on 12 Apr 2009 at 6:38