Forum Topic - PxLoadImage fails on a PowePC system: (5 Items)
   
PxLoadImage fails on a PowePC system  
I have QNX 6.3 running on a PowerPC system. I copied a bitmap, which was created for a WIndows PC (x86), to the PowerPC 
machine. I can open the file with fopen (to check if the file path is valid), but PxLoadImage fails and returns 0.
Do I need to use special bitmaps for the PowerPC (I hope not!)?
Is this known?
Thanks!
Re: PxLoadImage fails on a PowePC system  
can you start your app with DL_DEBUG=1 like:

#DL_DEBUG=1 ./yourapp


perhaps there is just alib missing on your target.

Guessed.
Jeevan
RE: PxLoadImage fails on a PowePC system  
good guess

-----Original Message-----
From: Jeevan Mathew [mailto:community-noreply@qnx.com] 
Sent: Wednesday, July 15, 2009 5:00 AM
To: photon-graphics
Subject: Re: PxLoadImage fails on a PowePC system

can you start your app with DL_DEBUG=1 like:

#DL_DEBUG=1 ./yourapp


perhaps there is just alib missing on your target.

Guessed.
Jeevan


_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post33791
Re: PxLoadImage fails on a PowePC system  
Thank you!
We found out that there really was one or two libraries missing: libphimg.so.2 und pr_io_bmp.so.
Now, as we added the libs, the function works fine!
bye,
Thomas
RE: PxLoadImage fails on a PowePC system  
probably a bug in the loader, does it work ok on 64x?

-----Original Message-----
From: Thomas Zauner [mailto:community-noreply@qnx.com] 
Sent: Wednesday, July 15, 2009 3:25 AM
To: photon-graphics
Subject: PxLoadImage fails on a PowePC system

I have QNX 6.3 running on a PowerPC system. I copied a bitmap, which was
created for a WIndows PC (x86), to the PowerPC machine. I can open the
file with fopen (to check if the file path is valid), but PxLoadImage
fails and returns 0.
Do I need to use special bitmaps for the PowerPC (I hope not!)?
Is this known?
Thanks!

_______________________________________________
Photon microGUI
http://community.qnx.com/sf/go/post33787