代码在使用 Xcode 构建时运行,但仅在从 makefile 执行构建时出现分段错误 [英]Code runs when building it with Xcode but get segmentation fault only when executing build from makefile