Author

Topic: Ошибка при компиляции демона под Windows (Read 107 times)

jr. member
Activity: 157
Merit: 4
Здравствуйте,

При компиляции демона под Windows произошла ошибка, для компиляции использую Visual Studio 2013, boost_1_55_0, cmake 3.11.1

CMake Error at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:2
044 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.55.0

  Boost include path: C:/boost_1_55_0

  Could not find the following static Boost libraries:

          boost_serialization

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:112 (find_package)


-- Found Git: C:/Program Files/Git/cmd/git.exe
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Configuring incomplete, errors occurred!
See also "C:/coin/build/CMakeFiles/CMakeOutput.log".
See also "C:/coin/build/CMakeFiles/CMakeError.log".


Файл CMakeError.log

Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/coin/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files/MSBuild/12.0/bin/MSBuild.exe" "cmTC_81591.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine версии 12.0.40629.0

[Microsoft .NET Framework версии 4.0.30319.42000]

(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.



Сборка начата 22.04.2018 15:05:25.

Проект "C:\coin\build\CMakeFiles\CMakeTmp\cmTC_81591.vcxproj" в узле 1 (целевые объекты по умолчанию).

PrepareForBuild:

  Создание каталога "cmTC_81591.dir\Debug\".

  Создание каталога "C:\coin\build\CMakeFiles\CMakeTmp\Debug\".

  Создание каталога "cmTC_81591.dir\Debug\cmTC_81591.tlog\".

InitializeBuildStatus:

  Создание "cmTC_81591.dir\Debug\cmTC_81591.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate".

ClCompile:

  D:\Hood\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_81591.dir\Debug\\" /Fd"cmTC_81591.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue C:\coin\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  Оптимизирующий компилятор Microsoft (R) C/C++ версии 18.00.40629 для x64

  (C) Корпорация Майкрософт (Microsoft Corporation).  Все права защищены.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_81591.dir\Debug\\" /Fd"cmTC_81591.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue C:\coin\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  CheckIncludeFile.c

 

C:\coin\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Не удается открыть файл включение: pthread.h: No such file or directory [C:\venus\build\CMakeFiles\CMakeTmp\cmTC_81591.vcxproj]

Сборка проекта "C:\venus\build\CMakeFiles\CMakeTmp\cmTC_81591.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой.



Ошибка сборки.



"C:\coin\build\CMakeFiles\CMakeTmp\cmTC_81591.vcxproj" (целевой объект по умолчанию) (1) ->

(Целевой объект ClCompile) ->

  C:\coin\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Не удается открыть файл включение: pthread.h: No such file or directory [C:\venus\build\CMakeFiles\CMakeTmp\cmTC_81591.vcxproj]



    Предупреждений: 0

    Ошибок: 1



Затраченное время: 00:00:00.67

Jump to: