更新时间:2023-11-10 16:43:10
错误显示来自GCC libstdc ++的标头和符号,表明 world.o
是使用 -stdlib = libstdc ++
构建的>,但您要链接到不兼容的 -stdlib = libc ++
.
The errors show headers and symbols from GCC's libstdc++ indicating world.o
was built with -stdlib=libstdc++
but you're linking with -stdlib=libc++
which is incompatible.
您需要始终使用相同的 -stdlib
选项.
You need to use the same -stdlib
option consistently.