scons更新,错误应该在哪里?

时间:2018-03-22 11:37:32

标签: c++ compiler-errors scons

之前从未使用过scons,我下载了一个physbam项目并进行编译。 应该在哪里发生错误?

sys:macos scons:3.0.1 python:2.7

$scons
scons: Reading SConscript files ...
/Users/andromedae/physbam/PhysBAM_Tools/SConstruct:378: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert(name.startswith('lib'),name)

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/Users/andromedae/physbam/PhysBAM_Tools/SConstruct", line 15, in <module>

scons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead.
File "/Users/andromedae/physbam/PhysBAM_Tools/SConstruct", line 17, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/Users/andromedae/physbam/PhysBAM_Tools/SConstruct", line 21, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
    use VariantDir() and the variant_dir keyword instead.
File "/Users/andromedae/physbam/PhysBAM_Tools/SConstruct", line 124, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/pentium4/release
distcc g++ -o build/pentium4/release/Public_Library/PhysBAM_Tools/Fourier_Transforms_Calculations/PHILLIPS_SPECTRUM.os -c -march=pentium4 -msse2 -mfpmath=sse -m32 -Wa,--32 -O2 -fexpensive-optimizations -falign-functions=4 -funroll-loops -fprefetch-loop-arrays -Wall -Winit-self -Woverloaded-virtual -Wstrict-aliasing=2 -fno-strict-aliasing -Werror -fPIC -DNDEBUG -DCOMPILE_WITHOUT_DOUBLE_SUPPORT -DCOMPILE_WITHOUT_DYADIC_SUPPORT -DCOMPILE_WITHOUT_RLE_SUPPORT -DCOMPILE_WITHOUT_ZLIB_SUPPORT -DCOMPILE_ID_TYPES_AS_INT -IPublic_Library Public_Library/PhysBAM_Tools/Fourier_Transforms_Calculations/PHILLIPS_SPECTRUM.cpp
sh: distcc: command not found
scons: *** [build/pentium4/release/Public_Library/PhysBAM_Tools/Fourier_Transforms_Calculations/PHILLIPS_SPECTRUM.os] Error 127
scons: building terminated because of errors.

我注意到找不到命令:distcc,含义,如何修改

0 个答案:

没有答案