troubles using gpu samples in i.max6q board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

troubles using gpu samples in i.max6q board

788件の閲覧回数
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 返答(返信)

713件の閲覧回数
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 件の賞賛
返信

713件の閲覧回数
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 件の賞賛
返信

713件の閲覧回数
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 件の賞賛
返信