Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-166

When invoking the SCons clean target, do not look for boost

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None

    Description

      The clean target should not look for the Boost headers/libraries, because they aren't used.

      Currently, if just scons --clean is invoked, it will fail with the following error:

      D:\workspace\mongo-cxx-driver>scons --clean
      scons: Reading SConscript files ...
       
      scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
      File "D:\workspace\mongo-cxx-driver\SConstruct", line 33, in <module>
      scons version: 2.3.0
      python version: 2 7 6 'final' 0
       
      scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
      File "D:\workspace\mongo-cxx-driver\SConstruct", line 313, in <module>
      NOTE: Tool configuration did not find 'cl' compiler, falling back to os environment
      Checking whether the C++ compiler worksyes
      Checking whether the C compiler worksyes
      Checking if C++ compiler "$CC" is MSVC... yes
      Checking if C compiler "cl" is MSVC... yes
      Checking if toolchain is in 64-bit mode... yes
      Checking for __declspec(thread)... yes
      Checking for C++ header file boost/version.hpp... no
      can't find boost headers

      Attachments

        Activity

          People

            Unassigned Unassigned
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: