2014년 12월 11일 목요일

Compile and instaling mongo-cxx-driver-26compat [Windows 8, Visual Studio 2012]

I'm trying to install mongo-cxx-driver-26compat, witch is the c driver for mongo. I have instaled in my computer windows 8 and visual studio 2012. It's seem that boost librarys are instaled all right but I cannot compile the driver. 

From Boost instalation: 

...patience...
...patience...
...patience...
...patience...
...patience...
...found 17104 targets...


The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    F:/aplicaciones/LibreriasBOOST/boost_1_57_0

The following directory should be added to linker library paths:

    F:\aplicaciones\LibreriasBOOST\boost_1_57_0\stage\lib


To install the c++ driver: 

scons --extrapathdyn=F:\aplicaciones\LibreriasBOOST\boost_1_57_0\ --extrapath=F:\aplicaciones\LibreriasBOOST\boost_1_57_0\ --extralib=F:\aplicaciones\LibreriasBOOST\boost_1_57_0\stage\libs --use-system-boost=USE-SYSTEM-BOOST --release=RELEASE

scons: Reading SConscript files ...
scons version: 2.3.4
python version: 2 7 2 'final' 0
Checking whether the C++ compiler works... yes
Checking whether the C compiler works... yes
Checking if C++ compiler "$CC" is MSVC... yes
Checking if C compiler "cl" is MSVC... yes
Checking if toolchain is in 64-bit mode... yes
Checking for __declspec(thread)... no
Checking for C++ header file boost/filesystem/operations.hpp... no
can't find boost headers

If we run dir command: 

$ dir F:\aplicaciones\LibreriasBOOST\boost_1_57_0\boost\filesystem\operations.hpp
$ El volumen de la unidad F es Disco datos
$ El número de serie del volumen es: 7EFA-1C7E
$
$ Directorio de F:\aplicaciones\LibreriasBOOST\boost_1_57_0\boost\filesystem
$
$29/10/2014  08:34            48.417 operations.hpp
$               1 archivos         48.417 bytes
$               0 dirs  964.397.465.600 bytes libres


The file is exactly placed there!!

Can you help me?? What it's happing??



Under your .scons directory, there should be a file called config.log generated by the configure tests. You should be able, in that log file, to find the compilation command used to test for the presence of operations.hpp

Can you please post the relevant section of config.log?


댓글 없음:

댓글 쓰기