troubles using gpu samples in i.max6q board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

troubles using gpu samples in i.max6q board

586 次查看
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 项奖励
回复
3 回复数

511 次查看
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 项奖励
回复

511 次查看
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 项奖励
回复

511 次查看
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 项奖励
回复