[SERVER-5748] mongo/platform folder missing after c++ client driver installation Created: 02/May/12  Updated: 11/Jul/16  Resolved: 03/May/12

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.1.1
Fix Version/s: 2.1.2

Type: Bug Priority: Blocker - P1
Reporter: Pieter Willem Jordaan Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: driver, include, pch, platform
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu x64 12.04


Operating System: ALL
Participants:

 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.



 Comments   
Comment by Eric Milkie [ 03/May/12 ]

Thanks for reporting this. The current head of master branch should now have a fixed SConscript file that will cull the proper headers for the C++ driver.

Comment by auto [ 03/May/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-5748 unify list of directories for C++ driver headers
Branch: master
https://github.com/mongodb/mongo/commit/dc5c2f528a870bab543e308f608036ecfb6441dd

Generated at Thu Feb 08 03:09:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.