smartbuddha33 发表于 2020-11-17 20:51:26

simgear编译报错

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".



页: [1]
查看完整版本: simgear编译报错