Hi,
I'm trying to create a new cursor which can be used with the XCURSOR cursor
management library.
I have a picture which I converted to a png format and then used the
"xcursorgen" to create a cursor file from.
In my C code I then used the following set of commands in order to read the
cursor file:
FILE *pFile;
pFile=fopen("test.png","r");
if (pFile!=NULL)
{
printf("Reading File\n");
cursor=XcursorFileLoadImage(pFile, 100);
fclose (pFile);
}
when trying to compile my code, I get the following error:
: undefined reference to `XcursorFileLoadImage'
It seems that i'm not giving the function what it is expecting, however, i'm
not sure what I'm doing wrong.
I also tried reading the file in binary format using:
pFile=fopen("test.png","rb"); however this did not help either.
Can someone please help me resolve this ?
Thanks,
M
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg