Query - Hello-world-gtk program execution using scratchbox cross compilation



Hello Everybody

i want to execute simple Hello-world-gtk (GUI) program
for ARM.
I have cross compiled it for ARM and got the
executable..
but as i execute it on target ..it gives error like
this
./Hello:error while loading shared
libraries:libgtk-x11-2.0.so.o: cannot open shared
object

I have tried to execute it on host also (where
scratchbox is installed) 
I tried the steps mentioned in Building GUI
application in the installation Docs

but i m not able to get the hello-world window wen
i executed it with ./hello
Following msg came..

Xlib: connection to "172.29.6.26:0.0" refused by
server
Xlib: No protocol specified




(hello:4567): Gtk-WARNING **: cannot open display:


i have even tried
export DISPLAY=ipaddress:displaynumber
with ipaddress:displaynumber=172.29.6.26:0

let me know how to execute that hello-world-gtk
program for ARM..even i got the executable i m not
able to get the output..

Pls help me out..i m new to this

Thanx
Waiting for ur reply
Hazzy


                
__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos 
http://in.photos.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]