C++ MongoDB C和x2B大楼+;Cygwin中的驱动程序:未找到生成错误代码.py

C++ MongoDB C和x2B大楼+;Cygwin中的驱动程序:未找到生成错误代码.py,c++,mongodb,mongodb-c,mongo-c-driver,C++,Mongodb,Mongodb C,Mongo C Driver,我正在尝试在Cygwin上构建MongoDB客户端库 Administrator@dev /cygdrive/e/warez/dev-tools/cpp/mongodb-src-r2.4.8 $ scons mongoclient scons: Reading SConscript files ... scons version: 2.3.0 python version: 2 7 5 'final' 0 No special config for [cygwin] which probably

我正在尝试在Cygwin上构建MongoDB客户端库

Administrator@dev /cygdrive/e/warez/dev-tools/cpp/mongodb-src-r2.4.8
$ scons mongoclient
scons: Reading SConscript files ...
scons version: 2.3.0
python version: 2 7 5 'final' 0
No special config for [cygwin] which probably means it won't work
Checking whether the C++ compiler works(cached) yes
Checking for C header file unistd.h... (cached) yes
Checking whether clock_gettime is declared... (cached) yes
Checking for C library rt... (cached) yes
Checking for C++ header file execinfo.h... (cached) no
Checking for C library pcap... (cached) no
Checking for C library wpcap... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/cygwin/normal/mongo/base/error_codes.h] Source `src/mongo/base/generate_error_codes.py' not found, needed by target `build/cygwin/normal/mongo/base/error_codes.h'.
scons: building terminated because of errors.

Administrator@dev /cygdrive/e/warez/dev-tools/cpp/mongodb-src-r2.4.8
$ ls -l src/mongo/base/generate_error_codes.py
-rwx------+ 1 Administrators None 8736 Oct 31 22:15 src/mongo/base/generate_error_codes.py
有两个问题与构建MongoDB驱动程序有关:

他们没有得到错误信息:

[cygwin]没有特殊配置,这可能意味着它无法工作

我尝试了mongodb-src-r2.4.8和来自github()的最新代码,但没有成功


我应该如何解决这个问题?提前感谢。

目前不支持在Windows上的Cygwin bash下运行SCON来构建MongoDB。解决方案是使用本机Visual Studio命令提示符。

我不确定我们是否支持cygwin竣工平台,我会调查。目前,我建议构建整个项目,并将mongoclient作为其中的一部分进行构建。@Derick我很期待……我个人的工作PC是Windows。其他依赖MongoDB驱动程序的组件需要构建在Cygwin上。从VisualStudio构建的MangGDB C++驱动程序是否工作?(反正我会试试的…)