- February 15, 2013 at 5:08 pm #31144
I am working on Pandaboard with omap4 platform. The Imagination driver is installed. I copied the SDK prebuilt sample program OGLES2HelloAPI to the board and tried to run it, but I got this error:
-bash: ./OGLES2HelloAPI: No such file or directory
$ file ./OGLES2HelloAPI
./OGLES2HelloAPI: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
Is there anything wrong? I managed to compile on the host PC but the same program can not run either.February 19, 2013 at 11:51 am #36672
I’ve not seen this problem before. When you say you compiled on your host machine, do you mean you cross-compiled for ARM and tried that binary on your Pandaboard, or do you mean you’ve seen the same problem on your host machine? What OS and CPU architecture is your host machine (e.g. Linux x86)?
JoeFebruary 21, 2013 at 5:16 am #36673
I am using pandaboard. The prebuilt linux samples would not run. I did not bother to use the cross compiler as that does not work either. I finally setup the board so that I can just compile on the device. It worked now.February 21, 2013 at 9:50 am #36674
Could it possibly be a permissions problem with the prebuilt binaries? Have you tried running:
chmod a+x OGLES2HelloAPI
Glad to hear you’re able to build it now 🙂
JoeFebruary 22, 2013 at 1:28 am #36675
chmod would not help. It is executable. The file itself does not seem to be right.February 22, 2013 at 9:25 am #36676
Is your Pandaboard image built for armhf (hard-float)? The binaries in our SDK are for soft-float. This may explain why the compiler on your Panda is able to create a working binary.
In our 3.0 SDK, we provide soft-float and hard-float binaries of PVRPerfServer. As a quick test, you could try running both and see which one works and which one fails.