Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PDF reader for Photon GUI: Page 1 of 4 (33 Items)
   
PDF reader for Photon GUI  
If someone interested, there is a new version (first public) of PDF reader for Photon/QNX6.5 for x86 platform.

Binaries and sources can be downloaded here https://github.com/llmike/PhMuPDF/downloads

If someone interested to build mupdf engine with PDF reader for Photon, I can explain how to do this.

I have been doing this project for myself since 2010. I'm using self-hosted QNX and very often need to read numerous PDF
 documents under QNX. I hope you will find this application useful too :)

Thanks.
RE: PDF reader for Photon GUI  
Thanks!!!!!

> -----Message d'origine-----
> De : Mike Gorchak [mailto:community-noreply@qnx.com]
> Envoyé : 24 avril 2012 12:31
> À : photon-graphics
> Objet : PDF reader for Photon GUI
> 
> If someone interested, there is a new version (first public) of PDF reader for
> Photon/QNX6.5 for x86 platform.
> 
> Binaries and sources can be downloaded here
> https://github.com/llmike/PhMuPDF/downloads
> 
> If someone interested to build mupdf engine with PDF reader for Photon, I can
> explain how to do this.
> 
> I have been doing this project for myself since 2010. I'm using self-hosted QNX
> and very often need to read numerous PDF documents under QNX. I hope you
> will find this application useful too :)
> 
> Thanks.
> 
> 
> 
> 
> _______________________________________________
> 
> Photon microGUI
> http://community.qnx.com/sf/go/post92726
> 
RE: PDF reader for Photon GUI  
excellent!

-----Original Message-----
From: Mike Gorchak [mailto:community-noreply@qnx.com] 
Sent: April 24, 2012 12:31 PM
To: photon-graphics
Subject: PDF reader for Photon GUI

If someone interested, there is a new version (first public) of PDF reader for Photon/QNX6.5 for x86 platform.

Binaries and sources can be downloaded here https://github.com/llmike/PhMuPDF/downloads

If someone interested to build mupdf engine with PDF reader for Photon, I can explain how to do this.

I have been doing this project for myself since 2010. I'm using self-hosted QNX and very often need to read numerous PDF
 documents under QNX. I hope you will find this application useful too :)

Thanks.




_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post92726
Re: PDF reader for Photon GUI  
I downloaded the src at the link. However I am not able to build the same. Kindly tell me the steps .
Re: PDF reader for Photon GUI  
Hi,

You have to obtain generic sources for mupdf at http://git.ghostscript.com/?p=mupdf.git;a=summary , please use version 1
.0, not latest sources. Or just download 1.0 snapshot at http://code.google.com/p/mupdf/downloads/detail?name=mupdf-1.0-
source.tar.gz&can=2&q= .  Extract my sources to the directory with  mupdf sources. Type "make -f Makefile.qnx". Enjoy.
Re: PDF reader for Photon GUI  
Hi,
I downloaded the image 1.0 and palced your code(obtained from https://github.com/llmike/PhMuPDF/downloads)

During make I got the following errors-
fitz/image_jpx.c: In function 'fz_load_jpx':
fitz/image_jpx.c:27: error: 'opj_event_mgr_t' undeclared (first use in this function)
fitz/image_jpx.c:27: error: (Each undeclared identifier is reported only once
fitz/image_jpx.c:27: error: for each function it appears in.)
fitz/image_jpx.c:27: error: expected ';' before 'evtmgr'
etc ...
The details are attached in the snapshot.
Kindly help  on  this. I am running this in the /MuPdf directory on QNX 6 Self Hosted machine.

Regards,

Attachment: Bitmap PDFReader_Mike_Make.bmp 1.8 MB
Re: PDF reader for Photon GUI  
Hi Mike,

The PDF Reader is excellent Thanks a lott for this.

I am building the source code for which I had put a query previously. Also I had executed the binary provided by you.

I had a query regarding this .
I executed this on my self hosted machine.
I am trying to execute the same exe on another machine where the difrence is in binaries and libs  in the /usr/bin and /
usr/lib and other system folder. The binary does not run and gves a memory fault.I am able to run other photon 
applications on my machine.
I suspect some library dependency specific to this binary  which is not being met.

Could you tell me the library or other dependencies this executable has.This would be very helpull.

Regards,
RE: PDF reader for Photon GUI  
Use:

DL_DEBUG=libs your_app

It will tell if any libs are missing.

-----Original Message-----
From: Kapil Gadgil [mailto:community-noreply@qnx.com] 
Sent: September-27-12 5:03 AM
To: photon-graphics
Cc: neha6.b@tcs.com
Subject: Re: PDF reader for Photon GUI

Hi Mike,

The PDF Reader is excellent Thanks a lott for this.

I am building the source code for which I had put a query previously. Also I had executed the binary provided by you.

I had a query regarding this .
I executed this on my self hosted machine.
I am trying to execute the same exe on another machine where the difrence is in binaries and libs  in the /usr/bin and /
usr/lib and other system folder. The binary does not run and gves a memory fault.I am able to run other photon 
applications on my machine.
I suspect some library dependency specific to this binary  which is not being met.

Could you tell me the library or other dependencies this executable has.This would be very helpull.

Regards,




_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post95871
To cancel your subscription to this discussion, please e-mail photon-graphics-unsubscribe@community.qnx.com
Re: PDF reader for Photon GUI  
> I am building the source code for which I had put a query previously. Also I 
> had executed the binary provided by you.

If you are still experiencing problems with building, I uploaded 1.1 version to github and you can obtain generic 1.1 
version at http://code.google.com/p/mupdf/downloads/detail?name=mupdf-1.1-source.tar.gz&can=2&q= and then we will try to compile it at both sides step by step.

> I am trying to execute the same
 exe on another machine where the difrence is 
> in binaries and libs  in the /usr/bin and /usr/lib and other system folder. 

If you have noticed, the archive mupdf-1.0-src.tar.gz as well as mupdf-1.1-src.tar.gz contain 3rdparty directory, which 
has headers and pre-compiled static libraries of all things, which are required to build phmupdf on QNX:

libz.a
libpng15.a
libopenjpeg.a
libjpeg.a
libjbig2dec.a
libfreetype.a
libbz2.a

Final phmupdf binary only depends on:

1) libph.so.3
2) libm.so.2
3) libc.so.3
4) libfont.so.1

which are all QNX system libraries, available even in runtime only installation.

> The binary does not run and gves a memory fault.I am able to run other photon 
> applications on my machine.
> I suspect some library dependency specific to this binary  which is not being 
> met.

How phmupdf binary was copied to this machine ? If through the network, like FTP, please make sure that binary transfer 
mode has been enabled before.

Could you check checksum of both binaries with cksum utility: "cksum phmupdf"?
Re: PDF reader for Photon GUI  
Hi Mike,

Thanks for the details.It was helpfull.
I checked the libraries,executable  , everything seems to be ok.

Does this Reader run on QNX 6.4.0 . I was excuting this on 6.5 and 6.4.0 . The issue is with 6.4.0
In case this wont execute on 6.4 then do you have any previous version of this reader that is compatible with 6.4

Regards,