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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,558 次查看
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,074 次查看
LeonardoSandova
Specialist I

Not sure if works but try

export DISPLAY=:0.0

then run your app.

Leo

0 项奖励
回复

2,074 次查看
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 项奖励
回复