编译时出现错误消息,即使我尝试将 libstdc++.dylib 添加到我的项目中。我可以知道我可以做些什么来修复它吗?
架构 x86_64 的未定义符号:
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in group.o
__GLOBAL__I_a in image.o
__GLOBAL__I_a in orthographic_camera.o
__GLOBAL__I_a in raycast.o
__GLOBAL__I_a in scene_parser.o
__GLOBAL__I_a in sphere.o
"std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in group.o
__GLOBAL__I_a in image.o
__GLOBAL__I_a in orthographic_camera.o
__GLOBAL__I_a in raycast.o
__GLOBAL__I_a in scene_parser.o
__GLOBAL__I_a in sphere.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)