• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

cmake .. error lua

Stylez

New Member
Joined
Oct 14, 2008
Messages
32
Reaction score
0
Hi,
Has anyone come across this issue before and if so how do I fix it? im just trying to run cmake .. on putty running TFS and I get this

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindLua.cmake:233 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:75 (find_package)


-- Configuring incomplete, errors occurred!
Thanks in advance!
 
im just trying to run cmake .. on putty running TFS and I get this
What TFS version?

It looks like you did not install Lua/LuaJIT ex. apt install libluajit-5.1-dev.
If it's older version of TFS, it may look for 2.0 version and on new linuxes LuaJIT version is 2.1. You may need to add check for 2.1 here:
 
im using git version clone so most recent and thanks, got past that now but im hitting this issue instead :S

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost: Found unsuitable version "1.74.0", but required is at
least "1.75.0" (found /usr/include, found components: system iostreams
locale regex)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
CMakeLists.txt:89 (find_package)
 
I would just edit the CMakeLists.txt where it says something "find_package(Boost REQUIRED 1.75.0" to "find_package(Boost REQUIRED 1.74.0)" & see if it compiles fine. I don't think there is a major change in the library from minor version 74 to 75, but if there is you'll find out.
 
I would just edit the CMakeLists.txt where it says something "find_package(Boost REQUIRED 1.75.0" to "find_package(Boost REQUIRED 1.74.0)" & see if it compiles fine. I don't think there is a major change in the library from minor version 74 to 75, but if there is you'll find out.
When I try that, i get another error:
Code:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_json"
  (requested version 1.74.0) with any of the following names:

    boost_jsonConfig.cmake
    boost_json-config.cmake

  Add the installation prefix of "boost_json" to CMAKE_PREFIX_PATH or set
  "boost_json_DIR" to a directory containing one of the above files.  If
  "boost_json" 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.74.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
  CMakeLists.txt:91 (find_package)
Post automatically merged:

@jefersonzc
install required boost version or newer
Yep, I'm trying this right now, but i'm a little bit noob at Linux XD. Could you help on this?
I'm using Ubuntu 22.04
 
Back
Top