Why cannot I link to the library #1567
Unanswered
li-yun-xian
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This text may seem a bit strange because it was translated by me using a translation software
If I can compile correctly when using "x86_64-unknown-Linux-gnu"
But when I use "x86_64-pc-windows-gnu" for cross compilation, it will fail
The error message is as follows
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgtk-4: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpangocairo-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpango-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lharfbuzz: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgdk_pixbuf-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo-gobject: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgraphene-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgio-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgtk-4: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpangocairo-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpango-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lharfbuzz: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgdk_pixbuf-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo-gobject: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgraphene-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgio-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgraphene-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgtk-4: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpangocairo-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpango-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lharfbuzz: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgdk_pixbuf-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo-gobject: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgraphene-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgio-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgdk_pixbuf-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lpango-1.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lharfbuzz: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo-gobject: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lcairo: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgio-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0: No such file or directory /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0: No such file or directory collect2: error: ld returned 1 exit status
Beta Was this translation helpful? Give feedback.
All reactions