I am trying to run 3d demo on AM335x starter kit. for that I had done succesfully crosscompile qt3d library on my host pc. After that I copied whole library and generated ".so" file which is compatible for ARM. Still when I run demo example I get following errors.
root@am335x-evm:~# cd qt3d/bin/
root@am335x-evm:~/qt3d/bin# ./monkeygod -qws
QGLContext::makeCurrent(): Cannot make invalid context current
Segmentation fault
After that I made my different project which uses same qt3d library and tried to run executable file on hardware but I got following errors.
root@am335x-evm:~# cd demo/project/
root@am335x-evm:~/demo/project# ./project -qws
[ 6438.577301] Alignment trap: not handling instruction edd17a00 at [<42904334>]
[ 6438.584838] Unhandled fault: alignment exception (0x001) at 0x00071cae
Bus error
Please helpme out from this two problem.
Thanks.