Closed hogcycle closed 3 years ago
Hello, no it appears that cmake is infact using 1.71.0 but it cannot find the system packages that you needed to install with it.
I have 1.71-dev installed. I installed it to my system using apt. It should look for it in $PATH right?
cmake should do that automatically, and it listed all the .cmake files names it tried to find but didn't succeed.
what cmake version do you have?
on arch i have these two installed
@longdas more info needed. Try reinstalling boost and building from a clean repo from the latest release tag.
If you still run into the same issue, please go into the BeamMP-Server folder and post here the output of:
git show
and
lsb_release -a
as well as
cmake --version
Thank you and good luck.
Closing as no more info was provided by @longdas and it doesn't look like a widespread issue. Reopen when that info is available.
Hi I am seeing very similar symptoms when trying to install on Ubuntu version 20.04
$ cmake .
-- not define build type, set to release
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
Could not find a package configuration file provided by "boost_system"
(requested version 1.71.0) with any of the following names:
boost_systemConfig.cmake
boost_system-config.cmake
Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
"boost_system_DIR" to a directory containing one of the above files. If
"boost_system" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
/usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/blaine/BeamMP-Server/CMakeFiles/CMakeOutput.log".
See also "/home/blaine/BeamMP-Server/CMakeFiles/CMakeError.log".
here is the info that was previously requested:
$ git show
commit 1427966d1a87c3f6e7c53206d0160d05ae5ba504 (HEAD -> master, origin/master, origin/HEAD)
Author: Lion Kortlepel <development@kortlepel.com>
Date: Wed Jun 23 02:08:21 2021 +0200
private false by default
diff --git a/include/Common.h b/include/Common.h
index ee32b0e..1f40316 100644
--- a/include/Common.h
+++ b/include/Common.h
@@ -23,7 +23,7 @@ public:
Resource("Resources"),
MapName("/levels/gridmap/info.json"),
MaxPlayers(10),
- Private(true),
+ Private(false),
MaxCars(1),
DebugModeEnabled(false),
Port(30814){}
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
$ cmake --version
cmake version 3.16.3
boost was installed using
sudo apt install libboost1.71-dev
I hope this info assists in resolving this issue
thank you
Hello,
I was able to reproduce and fix this on my Ubuntu 20.04.
Please try installing libboost1.71-all-dev
instead of libboost1.71-dev
.
I've updated this in the README now. Can you please verify that this fixes your issue? @thatguyinoz and @longdas
We also had to install liblua5.3-dev
in addition to libboost1.71-all-dev
and it then compiled successfully.
Thank you very much for your assistance.
Glad it was fixed. Enjoy!
I installed libboost1.71-dev which is the only one available in apt repositories.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package): Could not find a package configuration file provided by "boost_system" (requested version 1.71.0) with any of the following names: boost_systemConfig.cmake boost_system-config.cmake Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set "boost_system_DIR" to a directory containing one of the above files. If "boost_system" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component) /usr/share/cmake-3.13/Modules/FindBoost.cmake:264 (find_package) CMakeLists.txt:33 (find_package)
I believe it's looking for 1.70. Any ideas?