Astra-sim-astra_analytical debug模式编译不过的解决办法
问题是把警告视为错误
在tutorials/hoti2024/astra-sim/build/astra_analytical/build.sh脚本中修为:
function compile_astrasim_analytical_as_debug() {
cd "${BUILD_DIR:?}" || exit
cmake .. -DBUILDTARGET="$1" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-Wno-error"
cmake --build . --config=Debug -j "${NUM_THREADS:?}"
}

浙公网安备 33010602011771号