You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
UPDATE: I solved the above problem by changing the codeblocks compiler to w64devkit, but now it shows the following errors:
The text was updated successfully, but these errors were encountered: