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

C++ Client driver headers dependency on pch.h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: legacy-0.8.0
    • Component/s: None
    • Environment:
      Ubuntu 12.04 x64. Boost 1.49

      Description

      After downloading and building the latest c++ mongo driver tarball (28 April 17:55 SAST) I can't get a simple program built with the mongo driver. Everywhere I include dbclient.h I receive the following error: /usr/local/include/mongo/client/dbclient.h:30:17: fatal error: pch.h: No such file or directory.

      The file /usr/local/include/mongo/pch.h exists however. The latest v2.0 client driver tarball does not have this issue.

      I think the headers including pch.h should not rely on the mongo driver's include path (-Imongo) and should rather include ../pch.h. This is a guess as to what the problem is though.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: