troubles using gpu samples in i.max6q board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!