代碼在使用 Xcode 構建時運行,但僅在從 makefile 執行構建時出現分段錯誤 [英]Code runs when building it with Xcode but get segmentation fault only when executing build from makefile