Texel-1.10 Errors to compile...

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

chessica
Posts: 962
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Texel-1.10 Errors to compile...

Post by chessica »

C:\Users\Privat\Desktop\texel110\texel110>cd build

C:\Users\Privat\Desktop\texel110\texel110\build>cmake ..
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- Could NOT find Armadillo (missing: ARMADILLO_INCLUDE_DIR)
-- Could NOT find GSL (missing: GSL_INCLUDE_DIR GSL_LIBRARY GSL_CBLAS_LIBRARY) (found version "")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Not building bookgui
-- Could NOT find Torch (missing: Torch_DIR)
Not building torchutil
CMake Deprecation Warning at test/gtest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at test/gtest/cmake/internal_utils.cmake:243 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
test/gtest/CMakeLists.txt:91 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done (15.1s)
-- Generating done (4.4s)
-- Build files have been written to: C:/Users/Privat/Desktop/texel110/texel110/build

C:\Users\Privat\Desktop\texel110\texel110\build>
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Texel-1.10 Errors to compile...

Post by mvanthoor »

The errors state that you are missing some libraries on which Texel depends:

Code: Select all

-- Could NOT find Armadillo (missing: ARMADILLO_INCLUDE_DIR)
-- Could NOT find GSL (missing: GSL_INCLUDE_DIR GSL_LIBRARY GSL_CBLAS_LIBRARY) (found version "")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Not building bookgui
-- Could NOT find Torch (missing: Torch_DIR)
So you have to install Armadillo, GSL, PkgConfig and Torch as dependencies of Texel to make it compile. I have no idea what these libraries do, where you would get them, or what version you need for Texel 1.10. This should be in the instructions somewhere, or you'll have to trial-and-error it.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
Modern Times
Posts: 3748
Joined: Thu Jun 07, 2012 11:02 pm

Re: Texel-1.10 Errors to compile...

Post by Modern Times »

Why do you try to compile your own exes (and it seems usually fail) ? Do the ones supplied by the authors not work for you?
petero2
Posts: 729
Joined: Mon Apr 19, 2010 7:07 pm
Location: Sweden
Full name: Peter Osterlund

Re: Texel-1.10 Errors to compile...

Post by petero2 »

Those messages are actually warnings and not errors. Some of them come from using an old version of gtest. I will upgrade gtest for the next release, which will fix those warnings.

The "Not building ..." messages mean that not all programs in the texel distribution can be built, but the texel chess engine can be built, so unless you want to use those extra programs, these messages can safely be ignored.