The alien function "gdImageCreate" is undefined.
Hello! Manjaro Linux, gd package is installed.
I had this error: Test 1 failed with the following error: The alien function "gdImageCreate" is undefined. Test 2 failed with the following error: The alien function "gdImageCreate" is undefined. Test 3 failed with the following error: The alien function "gdImageCreate" is undefined. Test 4 failed with the following error: The alien function "gdImageCreate" is undefined. Test 5 failed with the following error: File #P"/home/iam/quicklisp/local-projects/cl-gd/test/one-pixel.png" could not be found Test 6 failed with the following error: File #P"/home/iam/quicklisp/local-projects/cl-gd/test/one-pixel.png" could not be found Test 7 failed with the following error: The alien function "gdImageCreate" is undefined. Test 8 failed with the following error: The alien function "gdImageCreate" is undefined. Test 9 failed with the following error: The alien function "gdImageCreate" is undefined. Test 10 failed with the following error: The alien function "gdImageCreateFromJpegFile" is undefined. Test 11 failed with the following error: The alien function "gdImageCreate" is undefined. Test 12 failed with the following error: The alien function "gdImageCreate" is undefined. Test 13 failed with the following error: The alien function "gdImageCreate" is undefined. Test 14 failed with the following error: The alien function "gdImageCreate" is undefined. Test 15 failed with the following error: The alien function "gdImageCreate" is undefined. Test 16 failed with the following error: The alien function "gdImageCreateTrueColor" is undefined. Test 17 failed with the following error: The alien function "gdImageCreate" is undefined. Test 18 failed with the following error: The alien function "gdImageCreate" is undefined. Test 19 failed with the following error: The alien function "gdImageCreateTrueColor" is undefined.
How I can fix this error on my computer? Thanks!
I had a similar error when building on FreeBSD:
error says The alien function "gdImageCreateFromJpegFile" is undefined.
This was caused by the .c portion of the library not properly being built. Check to see if the file cl-gd-glue.c is properly being built in cl-gd directory by typing "Make".