Gtk-WARNING **: cannot open display:  on  i.MX 233

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

Gtk-WARNING **: cannot open display:  on  i.MX 233

2,616件の閲覧回数
sathishreddy
Contributor I

Hi

I am decided to use gtk+ to develop GUI on I.MX233 .

I have cross complied and when i run the application ,

I am getting the message like.

 

Gtk-WARNING **: cannot open display:


May be this is the problem with the libraries.

please help what are the packages that i need to include.

Original Attachment has been moved to: makefile.zip

0 件の賞賛
返信
2 返答(返信)

2,132件の閲覧回数
LeonardoSandova
Specialist I

Not sure if works but try

export DISPLAY=:0.0

then run your app.

Leo

0 件の賞賛
返信

2,132件の閲覧回数
sathishreddy
Contributor I

Thanks for your reply.

Previously i am running it on tty console thats why i got that warning.

Now I am running it on LCD .Now it is ok

0 件の賞賛
返信