2014년 12월 3일 수요일

How to compile mongo-cxx-driver with mingw-gcc on windows 7 ?

my revelant information is as follows:
The version of the driver you are trying to build:legacy-0.9.0 tag
host os: windows 7 x86
c++ compiler: mingw-gcc
boost version :1.53(already built with mingw-gcc)
scons invocation: scons install-mongoclient --cpppath=D:\softsetup\boost_1_53_0-src --cxx=D:\gcc

then it output the following error:
C++ compiler D:\gcc does not work

i don't know what's going on.Wish to be helped ! thanks.



Currently, the C++ driver does not support MinGW. There is an open ticket to add support: https://jira.mongodb.org/browse/CXX-89.

There is also an open pull request on github: https://github.com/mongodb/mongo-cxx-driver/pull/108

The upcoming legacy-1.0 release of the driver will not ship with MinGW support, but we hope to use this PR as the basis for MinGW support in a subsequent minor release.


댓글 없음:

댓글 쓰기