Ошибка компиляции CMake: blueworkforce / bluezero - PullRequest
0 голосов
/ 26 января 2020

Я пытаюсь собрать CoppeliaRobotics / bluezero из источника в windows 10.

Это позволяет мне использовать Python API http://www.coppeliarobotics.com/ программное обеспечение.

Я установил ZeroMQ через vcpkg, а также "загрузил" ZeroMQ из https://zeromq.org/download/

Но я не уверен, как пройти через это ошибка при сборке.

Когда я запускаю команду построения

 cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_GUI=ON -DBUILD_EXAMPLES=ON ..

, я получаю следующую ошибку.

..
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at E:/cmake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find ZMQ (missing: ZMQ_LIBRARIES ZMQ_INCLUDE_DIRS) (Required is
  at least version "4.1.4")
Call Stack (most recent call first):
  E:/cmake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindZMQ.cmake:54 (find_package_handle_standard_args)
  CMakeLists.txt:59 (find_package)


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

Тогда CMakeError.log говорит

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

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_19eab.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28315 for x64

  CheckIncludeFile.c

  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_19eab.dir\Debug\\" /Fd"cmTC_19eab.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue C:\Users\admini\bluezero\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

C:\Users\admini\bluezero\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\admini\bluezero\build\CMakeFiles\CMakeTmp\cmTC_19eab.vcxproj]

CmakeOutPut.log говорит

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Users/admini/bluezero/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_fbd1d.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28315 for x64

  CMakeCXXCompilerABI.cpp

  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_fbd1d.dir\Debug\\" /Fd"cmTC_fbd1d.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "E:\cmake\share\cmake-3.16\Modules\CMakeCXXCompilerABI.cpp"

  cmTC_fbd1d.vcxproj -> C:\Users\admini\bluezero\build\CMakeFiles\CMakeTmp\Debug\cmTC_fbd1d.exe

Я не уверен, что делать дальше или устранять неполадки.

...