QQ登录

只需一步,快速开始

查看: 3519|回复: 0
打印 上一主题 下一主题

simgear编译报错

[复制链接]

主题

好友

4

积分

报考学院待录取

跳转到指定楼层
楼主
发表于 2020-11-17 20:51:26 |只看该作者 |倒序浏览
simgear在linux下编译时,cmake过程报错。求教大神指导
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at bucket/CMakeLists.txt:2 (include):
  include could not find load file:

    SimGearComponent


CMake Error at bucket/CMakeLists.txt:7 (simgear_component):
  Unknown CMake command "simgear_component".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.18)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/data/home/alex/FlightGear/simgear-2019.1.2-rc/simgear-2019.1.2/sm/CMakeFiles/CMakeOutput.log".



分享到: QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
分享分享0 收藏收藏0
您需要登录后才可以回帖 登录 | 加入FG

本版积分规则

手机版|联系我们| FlightGear ( 吉ICP备19002044号-7 )

GMT+8, 2024-4-23 17:14

Powered by Discuz! X3.2

© 2001-2013 FlightGear Inc.

返回顶部