C++ Client driver headers dependency on pch.h

XMLWordPrintableJSON

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

      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.

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              Pieter Willem Jordaan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: