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

mongo/platform folder missing after c++ client driver installation

    XMLWordPrintable

    Details

    • Operating System:
      ALL

      Description

      I had to manually copy the platform folder to /usr/local/include/mongo in order to build example applications

      g++ second.cpp --std=c++0x -L/usr/local/lib64 -I /usr/local/include/mongo -I /usr/local/include/ -lmongoclient -lboost_system -lboost_thread -lboost_filesystem -o second.out
      In file included from /usr/local/include/mongo/client/dbclient.h:30:0,
      from second.cpp:20:
      /usr/local/include/mongo/pch.h:28:34: fatal error: mongo/platform/basic.h: No such file or directory
      compilation terminated.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: