Replies: 2 comments 1 reply
-
I am trying to learn opengl and I am struggling with the environment configuration of the cpp project. I hope to use vcpkg to quickly build the environment, but there is a compilation problem when downloading glad. Thanks for all the help [build] D:/softwares/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/softwares/vcpkg/vcpkg/installed/x64-windows/debug/lib/glad.lib(CMakeFiles/glad.dir/src/glad.c.obj):(.rtc$IMZ+0x0): undefined reference to |
Beta Was this translation helpful? Give feedback.
-
Looks like you're using mingw but vcpkg buildt libraries for msvc. Change your triplet from |
Beta Was this translation helpful? Give feedback.
-
我在尝试学习opengl 苦于cpp项目的环境配置 希望使用vcpkg快速搭建环境 但下载glad时编译出现问题
CmakeLists.txt
CMakePresets.json
CMakeUserPresets.json
vcpkg.json
vcpkg-configuration.json
Beta Was this translation helpful? Give feedback.
All reactions