Article 5GD3C Slackware 15.0 and Games and CMAKE: example from WARZONE2100 game.

Slackware 15.0 and Games and CMAKE: example from WARZONE2100 game.

by
Roman Dyaba
from LinuxQuestions.org on (#5GD3C)
Code:bash-5.1$ cmake -S src -B build
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.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:113 (include):
include could not find requested file:

IncludeFindCurl

-- Found SQLite3: /usr/include (found suitable version "3.35.4", minimum required is "3.14")
CMake Warning at CMakeLists.txt:177 (message):
Could not determine cURL's SSL/TLS backends; if cURL is built with OpenSSL
< 1.1.0 or GnuTLS < 2.11.0, this may result in thread-safety issues

CMake Error at CMakeLists.txt:520 (INCLUDE):
INCLUDE could not find requested file:

AddTargetLinkFlagsIfSupported

CMake Error at CMakeLists.txt:533 (ADD_TARGET_LINK_FLAGS_IF_SUPPORTED):
Unknown CMake command "ADD_TARGET_LINK_FLAGS_IF_SUPPORTED".

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

cmake_minimum_required(VERSION 3.20)

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 "/home/roman/Distribution/warzone2100/build/CMakeFiles/CMakeOutput.log".https://downloads.sourceforge.net/pr...100_src.tar.xz

IS NOT SLACKWARE ISSUES ?
" -- Found SQLite3: /usr/include (found suitable version "3.35.4", minimum required is "3.14")
CMake Warning at CMakeLists.txt:177 (message):
Could not determine cURL's SSL/TLS backends; if cURL is built with OpenSSL
< 1.1.0 or GnuTLS < 2.11.0, this may result in thread-safety issues "

i think about "build from source error"latest?d=yIl2AUoC8zA latest?i=4TfjZcdFHxw:6WR-w4I3lF4:F7zBnMy latest?i=4TfjZcdFHxw:6WR-w4I3lF4:V_sGLiP latest?d=qj6IDK7rITs latest?i=4TfjZcdFHxw:6WR-w4I3lF4:gIN9vFw4TfjZcdFHxw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments