scons cannot support VS2017 when build MongoDB

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      scons cannot support VS2017 when build MongoDB. Recently we moved from VS2015 to VS2017. And found MongDB failed to build. Could you please let us know how we can build MongoDB using scons with VS2017? Thanks in advance!

      The following is the build information:
      [executing command] scons all -j4 CXXFLAGS=""
      scons: Reading SConscript files ...
      Mkdir("build\scons")
      scons version: 2.5.1
      python version: 2 7 13 'final' 0
      scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
      File "D:\MongoDB\src\SConstruct", line 873, in <module>
      Checking whether the C compiler works... no
      C compiler cl doesn't work
      See D:\MongoDB\src\build\scons\config.log for details

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            KarenHuang [X]
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: