CMake错误OSVR插件 - CMakeLists - C / CXX编译器标识未知

时间:2017-05-17 16:27:06

标签: c++ cmake visual-studio-2017 osvr

当前设置如下。

源代码= F:/ OSVR快照构建/ Teensy OSVR跟踪器

Build Path = F:/ OSVR Snapshot Build / Teensy OSVR Tracker Plugin Build

CMAKE_PREFIX_PATH = F:\ OSVR快照构建\ OSVR-Core-Snapshot-v0.6-1935-ga2cba4b6-build281-vs12-64bit

当我点击配置时,我会收到错误弹出窗口"配置过程出错,项目文件可能无效"

在日志窗口中,我得到了这个:

The C compiler identification is unknown
The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:2 (project):
 No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.

Configuring incomplete, errors occurred!
See also "F:/OSVR Snapshot Build/Teensy OSVR Tracker Plugin 
Build/CMakeFiles/CMakeOutput.log".
See also "F:/OSVR Snapshot Build/Teensy OSVR Tracker Plugin 
Build/CMakeFiles/CMakeError.log".

所有源文件和错误日志均位于https://github.com/Hydr0Dr4gon/Teensy-OSVR-Tracker。 我把它们放在那里,因为有很多文件,这里很快就会变得非常混乱。

我正在使用的OSVR-Core-Snapshot是" OSVR-Core-Snapshot-v0.6-1935-ga2cba4b6-build281-vs12-64bit"可以在这里找到 - http://access.osvr.com/binary/osvr-core

我正在使用Visual Studio Community 15 2017和CMAKE 3.8.1

修改

自从通过VS Dev Console启动CMake后,我现在收到此错误。

CMake Error: Could not find cmake module file: 
CMakeDetermineTrackerCompiler.cmake
CMake Error: Could not find cmake module file: F:/OSVR Snapshot 
Build/TestBuild/CMakeFiles/3.8.1/CMakeTrackerCompiler.cmake
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_Tracker_COMPILER could be found.

CMake Error: Could not find cmake module file: CMakeTrackerInformation.cmake

0 个答案:

没有答案