Problem in running the samples from gpu_sdk_v1.00

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

Problem in running the samples from gpu_sdk_v1.00

ソリューションへジャンプ
2,602件の閲覧回数
sudiptasubudhi
Contributor III

Hi,

I am trying to port gpu_sdk_v1.00 obtained from freescale onto Nitrogen6x board (IMX6) and run the samples provided by the sdk. I am using ubuntu 14.04 image.I am compiling on target using fbdev. After compilation,the "bin" directory is not generated automatically but the binaries of the samples are created in their respective folders. when i am trying to run any one of them,it is giving an error:

root@nitrogen:/sdk/Samples/GLES1.1/01_SimpleTriangle# ./01_SimpleTriangle

Lesson 02

./01_SimpleTriangle: symbol lookup error: ./01_SimpleTriangle: undefined symbol: fbGetDisplayByIndex

So, how to get out of it ? Thanks in advance.

Regards,

Sudlin

ラベル(1)
0 件の賞賛
返信
1 解決策
1,963件の閲覧回数
sudiptasubudhi
Contributor III

Hi all,

The Problem got solved.The mistake i was doing is i was using the lxde image provided by Boundary devices which has X support. As i was compiling using fbdev windowing system the console image provided by the Boundary devices works well and the freescale gpu sdk samples are running on 3.10.17 kernel.

These are the requirements if you are using a Nitrogen6x board and 3.10.17 kernel:

1. Rootfs :

      available at

     http://boundarydevices.com/ubuntu-trusty-december-2014-release/

2.Install gpu-viv-bin-mx6q-1.10.17-1.0.0.tar.gz

3.Install the following packages:

     available at timesys

     i) linux-libc-dev-armhf-cross_3.13.0-12.32cross1.104_all.deb

     ii) libc6-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

     iii) libc6-dev-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

4.Then follow the instructions provided in the pdf present in the freescale gpu_sdk for the symlinks required for the libraries.

Regards,

Sudlin

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,963件の閲覧回数
sudiptasubudhi
Contributor III

update

Hi,

I am running on lxde(3.10.17 linux image from Boundary devices). I was getting that error because i was trying to compile the samples from the serial console on my pc connected from the board but when i try from a terminal window from the device itself, the "bin" directory is created and the binaries are present inside it.

But,when i try to run a binary, it gives the following message on the screen

./01_SimpleTriangle

Lesson 02

chooseconfig,

createwindow,

createcontext,

makecurrent,

exiting init,

and then it waits and no response till i forcefully interrupt it.

Can someone help me with it??

Regards,

Sudlin

0 件の賞賛
返信
1,964件の閲覧回数
sudiptasubudhi
Contributor III

Hi all,

The Problem got solved.The mistake i was doing is i was using the lxde image provided by Boundary devices which has X support. As i was compiling using fbdev windowing system the console image provided by the Boundary devices works well and the freescale gpu sdk samples are running on 3.10.17 kernel.

These are the requirements if you are using a Nitrogen6x board and 3.10.17 kernel:

1. Rootfs :

      available at

     http://boundarydevices.com/ubuntu-trusty-december-2014-release/

2.Install gpu-viv-bin-mx6q-1.10.17-1.0.0.tar.gz

3.Install the following packages:

     available at timesys

     i) linux-libc-dev-armhf-cross_3.13.0-12.32cross1.104_all.deb

     ii) libc6-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

     iii) libc6-dev-armhf-cross_2.19-0ubuntu2cross1.104_all.deb

4.Then follow the instructions provided in the pdf present in the freescale gpu_sdk for the symlinks required for the libraries.

Regards,

Sudlin

0 件の賞賛
返信
1,963件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution Sudlin!, it will help other users in the future!

0 件の賞賛
返信
1,963件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Boundary Devices do you have information to help Sudlin?

0 件の賞賛
返信