Hi,

I compiled moblin-sdk-example/apps/pdfviewer from
git clone git://git.moblin.org/moblin-sdk-examples

Compilation is successful but when I run pdfviewer with a pdf file as input.
I get an error.
Please find log and let me know what be the issue.

//==============                  error log
==============================
r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src# ls
Interrupt.pdf  main.o    Makefile.am  pdfviewer        pdfviewer32.png
pdfviewer96.png  pdfviewer.desktop
main.c         Makefile  Makefile.in  pdfviewer16.png  pdfviewer48.png
pdfviewer.conf   pdfviewer.desktop.in
r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src#
./pdfviewer -f ./Interrupt.pdf
** (pdfviewer:32264): DEBUG: PDF URI was ./Interrupt.pdf

** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute
URI using the "file" scheme
aborting...
Aborted
r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src#
./pdfviewer --file=./Interrupt.pdf
** (pdfviewer:32265): DEBUG: PDF URI was ./Interrupt.pdf

** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an absolute
URI using the "file" scheme
aborting...
Aborted
r...@ubuntu:/media/epustak/moblin/moblin-sdk-examples/apps/pdfviewer/src#
//===============================================================
Regards,
Ashish

Reply via email to