找回密码
 加入FG

QQ登录

只需一步,快速开始

搜索
查看: 4209|回复: 0

simgear编译报错

[复制链接]
发表于 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".



您需要登录后才可以回帖 登录 | 加入FG

本版积分规则

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

GMT+8, 2025-7-31 21:17

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表