troubles using gpu samples in i.max6q board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

troubles using gpu samples in i.max6q board

570 Views
lidinihao
Contributor I

with i.max6q board, kernel 3.14,  i download gpu_sdk_v1.00.tar.gz to run some samples for test to take use of GPU. after compiling the sample codes, to run the object file, it reports error like "./01_SimpleTriangle: error while loading shared libraries: libGLESv1_CM.so.1: cannot open shared object file: No such file or directory"

i'm sure such dynamic libs exists on /usr/lib, also i use /etc/ld.so.conf and cmd "ldconfig" to make the location valid to get. but it still can not work. is there anyone know about this and give me some help??

0 Kudos
3 Replies

495 Views
marius_grigoras
NXP Employee
NXP Employee

Hi,

Just make a search for these missing libs using:

find / -name libGLESv1_CM.so.1

and then let the system know where the folder containing those libs is using:

export LD_LIBRARY_PATH=your_lib_dir

Hope this helps,

Marius

0 Kudos

495 Views
marius_grigoras
NXP Employee
NXP Employee

If you can't find the .so files on your linux target then you should search them on your yocto/linux host and copy them in the linux target rootfs and inform the system about them using LD_LIBRARY_PATH as above.

0 Kudos

495 Views
Yuri
NXP Employee
NXP Employee

Hello

  Please check the list of dynamic libraries linked with libGLESv1_CM.so.1,

using ldd command.

 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 Kudos