webOS Nation Forums
> webOS apps and software
> webOS development
>
sdlVNC - VNC Client
1
2 3 4
Member:
zonyl
at: 12:06 PM 01/14/2010
sdlVNC - v1.0.0
I have created / uploaded the source for a VNC client that runs natively in WebOS (SDL/PDK).
* This has not been packaged yet, so please wait on this unless you have an understanding of how to compile and run native apps on WebOS.
Please see the following for more details.
Application:SdlVNC - WebOS Internals
This is a work in progress, however as it stands right now it does what I need (connect to a local Xtightvncserver). From within X11 I can run vncviewer and rdesktop, etc.
Member:
BoraWare
at: 01:29 PM 01/14/2010
This is great news. Good work!
Hooray!
Awesome news, Thank you
Has the issue with connecting to remote sessions been resolved?
I can get it to configure, but when running make:
Originally Posted by :
sdlvnc.c:20:25: error: SDL/SDL_ttf.h: No such file or directory
sdlvnc.c:26:1: warning: "VERSION" redefined
<command-line>: warning: this is the location of the previous definition
sdlvnc.c: In function 'SplashScreen':
sdlvnc.c:58: error: 'TTF_Font' undeclared (first use in this function)
sdlvnc.c:58: error: (Each undeclared identifier is reported only once
sdlvnc.c:58: error: for each function it appears in.)
sdlvnc.c:58: error: 'font' undeclared (first use in this function)
sdlvnc.c:84: warning: assignment makes pointer from integer without a cast
sdlvnc.c:92: warning: assignment makes pointer from integer without a cast
sdlvnc.c: In function 'GetHostname':
sdlvnc.c:151: error: 'TTF_Font' undeclared (first use in this function)
sdlvnc.c:151: error: 'font' undeclared (first use in this function)
sdlvnc.c:168: warning: return makes pointer from integer without a cast
sdlvnc.c:171: warning: assignment makes pointer from integer without a cast
sdlvnc.c:207: warning: assignment makes pointer from integer without a cast
sdlvnc.c:213: warning: assignment makes pointer from integer without a cast
make: *** [sdlvnc.o] Error 1
edit: ah, maybe I didn't properly grab the lib
had the same problem... seems like something is missing

hope there is a package soon.
Member:
zonyl
at: 08:11 AM 01/15/2010
- It can connect to remote servers. Use the IP address as resolv isnt working
- SDL/TTF.h .. You need to have libSDL_TTF installed on you build machine.
On debian apt-get install libsdl-ttf2.0-dev
installing libsdl-ttf2.0-dev wont fix it for me, had it allready installed.
Member:
sudoer
at: 09:11 AM 01/15/2010
zonyl, thanks for the effort on this!
Member:
sudoer
at: 09:16 AM 01/15/2010
Originally Posted by zonyl:
...
Please see the following for more details.
Application:SdlVNC - WebOS Internals
This is a work in progress, however as it stands right now it does what I need (connect to a local Xtightvncserver). From within X11 I can run vncviewer and rdesktop, etc.
That's pretty cool in itself!
Is the plan to polish this up and put it in the app catalog? I will pay for a decent VNC client. I'm so tired of using PalmVNC in Classic.
Originally Posted by :
installing libsdl-ttf2.0-dev wont fix it for me, had it allready installed.
I installed it but am still getting the same errors. I wouldn't think I'd have to do anything else after installing it for it to be found?
Well, managed to get past that by copying over the sdl_ttf.h file only to get "cannot find -lSDL_ttf"
Doing everything I've seen recommended but still getting the same error. Ah well
Member:
zonyl
at: 03:43 PM 01/15/2010
Originally Posted by dirtygreek:
Well, managed to get past that by copying over the sdl_ttf.h file only to get "cannot find -lSDL_ttf"
Doing everything I've seen recommended but still getting the same error. Ah well 
That is strange if you have SDL_ttf installed. What build environ are you using?
Here are the bins (its really a tgz not a zip.. forum software wants zip)
Ubuntu 9.10, following the instructions on the internals page. But no matter - thanks for the bins! Trying them out now.
me too.. and thanks for the binary... gives me an error tho.
root@palm-webos-device:/media/internal/sdlvnc# ./sdlvnc
./sdlvnc: error while loading shared libraries: libSDL_vnc.so.0: cannot open shared object file: No such file or directory
PS: both files are in the same folder.... just so you know
I am just a ton of trouble, I know, but I'm now getting
Originally Posted by :
error while loading shared libraries: libSDL_vnc.so.0: cannot open shared object file: No such file or directory
The file's there, though... does it look for it in a specific place?
Wonder if
this will help at all
Originally Posted by :
nstall the library. The default location for the installation is /usr/local/lib and /usr/local/include. The libary path /usr/local/lib might need to be added to the file /etc/ld.so.conf
Member:
zonyl
at: 04:08 PM 01/15/2010
Yes, libraries need to be in the /usr/lib folder. Then you need to run ldconfig
'man ldconfig' for more info.
1
2 3 4
webOS Nation Forums
> webOS apps and software
> webOS development
>
sdlVNC - VNC Client