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

scons cannot support VS2017 when build MongoDB

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

      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@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            KarenHuang2017 KarenHuang [X]
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: