Slackware 15.0 compilation: Games, Applications, and CMAKE: example from WARZONE2100 game.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 15.0 compilation: Games, Applications, and CMAKE: example from WARZONE2100 game.
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".
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"
Last edited by Roman Dyaba; 04-09-2021 at 06:20 PM.
Reason: add direct link, add text
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.