Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The alien function "gdImageCreate" is undefined. #13

Open
Filipp-Druan opened this issue Sep 5, 2023 · 1 comment
Open

The alien function "gdImageCreate" is undefined. #13

Filipp-Druan opened this issue Sep 5, 2023 · 1 comment

Comments

@Filipp-Druan
Copy link

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!

@wglb
Copy link

wglb commented Jul 6, 2024

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants