scons CheckCXX()false但编译器有效

时间:2015-10-14 12:56:13

标签: python visual-studio scons

我放弃了AVR Studio 6.4现在:

if not conf.CheckCXX() :
    raise SCons.Errors.StopError("C++ compiler is not working")

失败,但如果我概述了它编译就好了。任何人都知道它失败的原因? (运行MSVS 14并使用v140进行编译)

LOG:

scons: Configure: Checking whether the C++ compiler works... 
scons: Configure: ".sconf_temp\conftest_0.cpp" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp\conftest_0.cpp <-
  |  |
  |  |int main()
  |  |{
  |  |    return 0;
  |  |}
  |  |
  |
cl /Fo.sconf_temp\conftest_0.obj /c .sconf_temp\conftest_0.cpp /TP /nologo /O2 /DJIMDB_WINDOWS /DNDEBUG /DBOOST_UBLAS_NDEBUG /DJIMDB_NDEBUG
conftest_0.cpp
c1xx: fatal error C1083: Cannot open source file: '.sconf_temp\conftest_0.cpp': No such file or directory

0 个答案:

没有答案