Therefore
unread,Aug 24, 2012, 2:17:03 PM8/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongo...@googlegroups.com
Windows 7 64 SP1
MongoDB 2.2.0-rc2
Boost 1.42 (as part of 2.2.0-rc1)
scons 2.2.0
python 2.7.3
MS VS 2010 Ultimate
So, I'm trying to get the C++ driver installed for use with MS VS.
I downloaded 2.2.0-rc1.and unpacked it as C:\mongodb-src-r2.20-rc2\
Then I renamed C:\mongodb-src-r2.20-rc2\ to C:\MongoDB\
Started MS VS X64 command prompt.
cd c:\mongDB
Then I:
scons --64
scons --dd --64 mongoclient.lib
scons --dd --64 core
all without errors.
I set MS VS Properties: Configuration Properties->vc++ Directories->Include Directories to:
"c:\mongoDB\src"
When building, I get an error:
fatal error C1083: Cannot open include file: 'client/dbclient.h': No such file or directory
dbclient.h, on my computer, is stored in one place:
C:\mongoDB\src\mongo\client\dbclient.h
So I set MS VS Properties: Configuration Properties->vc++ Directories->Include Directories to:
C:\mongoDB\src\mongo
and upon building:
fatal error C1083: Cannot open include file: 'mongo/client/redef_macros.h': No such file or directory
So, apparently my folder hierarchy is screwy? Was there a step I missed?
Thanks,
Mark