Scons:无法找到提升

时间:2016-02-21 13:28:35

标签: python c++ git mongodb boost

我按照本LINK

中的安装指南MongoDB C ++ API编译教程
  1. 安装配置mingw SUCCESFULLY
  2. 跳过opensll
  3. 为MinGW下载Boost和编译 SUCCESSFULLY
  4. 安装python和scons SUCESSFULLY
  5. 在此LINK 成功下载MongoDB mongocss-driver
  6. 以及执行以下操作的最后一步     msys.bat控制台上的命令行

    scons.py --ar = which ar --cxx = which g++ --mingw --boost-postfix = -mgw49-mt-1_55 --sharedclient --prefix = / c / MongoDB / MongoDB / -j 7 install-mongoclient

  7. 发生以下错误。 Error Ocuured during Compiling

    这里有什么问题?如果任何路径错误,我为此我格式化了我的电脑。 有人能帮助我吗? 谷歌没有像我这样的错误代码。

    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_15.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -DMONGO_EXPOSE_MACROS -DBOOST_ALL_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED=1 -D_FILE_OFFSET_BITS=64 -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\third_party\gtest-1.7.0\include -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++ -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\mongo -IC:\Boost\include\boost-1_55 -IC:\Boost\include\include -IC:\msys\include -IC:\msys\local\include -IC:\msys\x86_64-w64-mingw32\include -IC:\c\Boost\include\boost-1_55 -IC:\c\Boost\include\boost-1_55\boost build\scons\sconf_temp\conftest_15.cpp
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_15.exe -fPIC build\scons\sconf_temp\conftest_15.o -LC:\Boost\lib -LC:\Boost\include\lib -LC:\msys\lib -LC:\msys\local\lib -LC:\msys\x86_64-w64-mingw32\lib -LC:\c\Boost\lib -lC:/Boost/lib/ -lm -lws2_32 -lDbgHelp
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lC:/Boost/lib/
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lDbgHelp
    collect2.exe: error: ld returned 1 exit status
    scons: Configure: no
    
    
    file C:\MongoDB\mongo-cxx-driver-legacy\SConstruct,line 1479:
        Configure(confdir = build\scons\sconf_temp)
    scons: Configure: Checking for C++ header file boost/version.hpp... 
    build\scons\sconf_temp\conftest_16.cpp <-
      |
      |#include "boost/version.hpp"
      |
      |
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_16.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -DMONGO_EXPOSE_MACROS -DBOOST_ALL_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED=1 -D_FILE_OFFSET_BITS=64 -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\third_party\gtest-1.7.0\include -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++ -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\mongo -IC:\Boost\include\boost-1_55 -IC:\Boost\include\include -IC:\msys\include -IC:\msys\local\include -IC:\msys\x86_64-w64-mingw32\include -IC:\c\Boost\include\boost-1_55 -IC:\c\Boost\include\boost-1_55\boost build\scons\sconf_temp\conftest_16.cpp
    scons: Configure: yes
    
    scons: Configure: Checking for C++ library boost_thread-mgw49-mt-1_55... 
    build\scons\sconf_temp\conftest_17.cpp <-
      |
      |
      |
      |int
      |main() {
      |  
      |return 0;
      |}
      |
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_17.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -DMONGO_EXPOSE_MACROS -DBOOST_ALL_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED=1 -D_FILE_OFFSET_BITS=64 -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\third_party\gtest-1.7.0\include -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++ -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\mongo -IC:\Boost\include\boost-1_55 -IC:\Boost\include\include -IC:\msys\include -IC:\msys\local\include -IC:\msys\x86_64-w64-mingw32\include -IC:\c\Boost\include\boost-1_55 -IC:\c\Boost\include\boost-1_55\boost build\scons\sconf_temp\conftest_17.cpp
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_17.exe -fPIC build\scons\sconf_temp\conftest_17.o -LC:\Boost\lib -LC:\Boost\include\lib -LC:\msys\lib -LC:\msys\local\lib -LC:\msys\x86_64-w64-mingw32\lib -LC:\c\Boost\lib -lC:/Boost/lib/ -lm -lws2_32 -lDbgHelp -lboost_thread-mgw49-mt-1_55
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lC:/Boost/lib/
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lDbgHelp
    collect2.exe: error: ld returned 1 exit status
    scons: Configure: no
    
    scons: Configure: Checking for C++ library boost_thread-mt... 
    build\scons\sconf_temp\conftest_18.cpp <-
      |
      |
      |
      |int
      |main() {
      |  
      |return 0;
      |}
      |
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_18.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -DMONGO_EXPOSE_MACROS -DBOOST_ALL_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED=1 -D_FILE_OFFSET_BITS=64 -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\third_party\gtest-1.7.0\include -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++ -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\mongo -IC:\Boost\include\boost-1_55 -IC:\Boost\include\include -IC:\msys\include -IC:\msys\local\include -IC:\msys\x86_64-w64-mingw32\include -IC:\c\Boost\include\boost-1_55 -IC:\c\Boost\include\boost-1_55\boost build\scons\sconf_temp\conftest_18.cpp
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_18.exe -fPIC build\scons\sconf_temp\conftest_18.o -LC:\Boost\lib -LC:\Boost\include\lib -LC:\msys\lib -LC:\msys\local\lib -LC:\msys\x86_64-w64-mingw32\lib -LC:\c\Boost\lib -lC:/Boost/lib/ -lm -lws2_32 -lDbgHelp -lboost_thread-mt
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lC:/Boost/lib/
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lDbgHelp
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lboost_thread-mt
    collect2.exe: error: ld returned 1 exit status
    scons: Configure: no
    
    scons: Configure: Checking for C++ library boost_thread... 
    build\scons\sconf_temp\conftest_19.cpp <-
      |
      |
      |
      |int
      |main() {
      |  
      |return 0;
      |}
      |
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_19.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -DMONGO_EXPOSE_MACROS -DBOOST_ALL_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED=1 -D_FILE_OFFSET_BITS=64 -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010300 -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\third_party\gtest-1.7.0\include -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++ -Ibuild\win32\ar_C__MinGW_bin_ar\cxx_C__MinGW_bin_g++\mongo -IC:\Boost\include\boost-1_55 -IC:\Boost\include\include -IC:\msys\include -IC:\msys\local\include -IC:\msys\x86_64-w64-mingw32\include -IC:\c\Boost\include\boost-1_55 -IC:\c\Boost\include\boost-1_55\boost build\scons\sconf_temp\conftest_19.cpp
    C:/MinGW/bin/g++ -o build\scons\sconf_temp\conftest_19.exe -fPIC build\scons\sconf_temp\conftest_19.o -LC:\Boost\lib -LC:\Boost\include\lib -LC:\msys\lib -LC:\msys\local\lib -LC:\msys\x86_64-w64-mingw32\lib -LC:\c\Boost\lib -lC:/Boost/lib/ -lm -lws2_32 -lDbgHelp -lboost_thread
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lC:/Boost/lib/
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lDbgHelp
    c:/mingw/bin/../lib/gcc/mingw32/4.9.3/../../../../mingw32/bin/ld.exe: cannot find -lboost_thread
    collect2.exe: error: ld returned 1 exit status
    scons: Configure: no
    

0 个答案:

没有答案