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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,319 Views
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 Kudos
2 Replies

835 Views
LeonardoSandova
Specialist I

Not sure if works but try

export DISPLAY=:0.0

then run your app.

Leo

0 Kudos

835 Views
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 Kudos