Problem in running X11 display program on MAC OS
Hi,
One of my X11 display code using Xlib.h is running perfectly on a linux machine. However, when I access the same system on my Mac using ssh, and run the same code, it says segmentation fault error. I couldn't figure out why it was occurring. Could you please help me out in solving this issue?
I am compiling the code the same way as I do on that linux machine, i.e. giving the X11lib path and finally appending -lX11 with the gcc command.
Thanks.
|