Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30134

scons cannot support VS2017 when build MongoDB

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None
    • Fully Compatible

    Description

      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

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            KarenHuang2017 KarenHuang [X]
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: