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

Failed to compile from Windows. #18

Open
linksquidmx opened this issue Nov 25, 2022 · 0 comments
Open

Failed to compile from Windows. #18

linksquidmx opened this issue Nov 25, 2022 · 0 comments

Comments

@linksquidmx
Copy link

linksquidmx commented Nov 25, 2022

I'm trying to run an application in Go that converts image files to Webp format from Windows, but I get the following C compiler error. This problem doesn't happen on Linux, but I need to run it on Windows:

C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwebp
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwebp
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwebp
C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwebp
collect2.exe: error: ld returned 1 exit status

temp

UPDATE: I solved the above problem by changing the codeblocks compiler to w64devkit, but now it shows the following errors:

Captura

@linksquidmx linksquidmx changed the title Error al compilar desde Windows usando la librería WebP Failed to compile from Windows. Nov 29, 2022
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

1 participant