LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.11k stars 484 forks source link

Issues compiling example backchannel.c file in libvncserver client_examples #485

Closed Savitar407 closed 2 years ago

Savitar407 commented 2 years ago

Hi, i am trying to compile backchannel.c file in the /libvncserver/client_examples directory and i keep on getting errors such as "undefined reference to WriteToRFBServer" and "undefined reference to rfbClientLog" when i attempt to compile the program with: gcc backchannel.c -lvncserver -o backchannel I assume i dont have a library or something installed. No issues when compiling examples like simple.c which is why i am confused. Any help would be appreciated.

Thanks,

Savitar407 commented 2 years ago

wow lol srry i found the issue. Cant believe i overlooked -lvncclient. all fixed.