Summary: | okular cannot open djvu files | ||
---|---|---|---|
Product: | kde-windows | Reporter: | eric948470 |
Component: | general | Assignee: | KDE-Windows <kde-windows> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eric948470, swdseth |
Priority: | NOR | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
eric948470
2010-04-18 18:38:16 UTC
Hello, I found this forum post about this problem http://chakra-project.org/bbs/viewtopic.php?id=2294 Hello, I also found the following post. http://old.nabble.com/FW:-Okular-cannot-display-PDF-files-td26526044.html Following the instructions given, I downloaded the file http://winkde.org/pub/kde/ports/win32/releases/stable/latest/openjpeg-1.3-1-bin.tar.bz2 and extracted it to the KDE installation folder. After that I could view pdf files. But I still could not view djvu files. I downloaded "dependancywalker" (The new GUI version) from http://www.dependencywalker.com/ , followed the instructions and added ".....\KDE\bin" to the PATH variable, and ran depends.exe for "....\KDE\lib\kde4\okularGenerator_djvu.dll". It says that the system cannot find the file "LIBDJVULIBRE.DLL". I searched in http://winkde.org/pub/kde/ports/win32/releases/stable/latest/ for a mingw4 port of djvulibre, but couldn't find one. There was only a msvc version of djvulibre. http://winkde.org/pub/kde/ports/win32/releases/stable/latest/djvulibre-vc90-3.5.21-bin.tar.bz2 . I downloaded it, but it didn't have the above mentioned file. Is it because of this missing file "LIBDJVULIBRE.DLL" that I cannot view djvu files? If so, from where do I get it? Trying to get that file, I tried compiling the source of libdjvulibre in cygwin and mingw, but for some reason it doesn't compile on my system. Make gives an error and stops. Hello again, To find the file libdjvulibre.dll, I downloaded the DjVuLibre+DjView package from http://sourceforge.net/projects/djvu/files/DjVuLibre_Windows/3.5.22%2B4.5/DjVuLibre%2BDjView-3.5.22%2B4.5b-Setup.exe/download and installed it. Then I went in to the installation folder, found libdjvulibre.dll and copied it to my "....\KDE\bin" folder. I ran dependancywalker again, and this time it indicated that another file, libjpeg.dll is missing. I found it from the DjVuLibre+DjView installation folder and copied it to "....\KDE\bin" folder, and after that dependancywalker didn't show any error. I opened Okular and discovered that I could open djvu files! So now I can open both pdf and djvu files :) . Could someone tell me if there is an easier procedure than this, or why weren't those files included in the KDE distribution? Thanks For PDF documents there's bug #233626, renaming this bug for djvu files only. djvu files work in 4.8.0 gcc x64. |