我正在尝试使用 Glade 在 GTK+ 上做一个项目,但是当我编译我的代码和 运行 可执行文件时,我遇到了一些错误
I am trying to do a project on GTK+ using Glade but when I am compiling my code and running the executable file I am facing some errors
I am facing some error as shown in the image. How should I solve this problem?
您需要将 MSYS2 环境中的 dll 复制到您的可执行文件旁边。
要获取您需要的 dll 列表,您可以 运行 在 MINGW64 shell ldd $exe | grep mingw
中将 $exe
替换为您的可执行文件的路径
I am facing some error as shown in the image. How should I solve this problem?
您需要将 MSYS2 环境中的 dll 复制到您的可执行文件旁边。
要获取您需要的 dll 列表,您可以 运行 在 MINGW64 shell ldd $exe | grep mingw
中将 $exe
替换为您的可执行文件的路径