Open tissatussa opened 7 months ago
btw. regarding the operator""
error i found https://stackoverflow.com/questions/16596864/c11-operator-with-double-parameter .. maybe it can help you.
Hi looks like in a48a50572 the problem is fixed. In any case, on my wsl it compiles successfully.
i did a new git clone
of your updated source code, but i still have an error :
$ cmake -DCMAKE_CXX_COMPILER=g++-13 -DCMAKE_C_COMPILER=gcc-13 .
-- The C compiler identification is GNU 13.1.0
-- The CXX compiler identification is GNU 13.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-13 - 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/g++-13 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
CMake Error at src/chess/CMakeLists.txt:22 (qt_generate_deploy_app_script):
Unknown CMake command "qt_generate_deploy_app_script".
-- Configuring incomplete, errors occurred!
Note: i used extra parameters to compile with g++-13 / gcc-13 but normal g++ / gcc (v11) give same error ..
can you test on Linux ? (and what is 'wsl' ?)
btw. i see the folder chessui
does no longer exist !?
i just found your pet chess engine app .. i'm trying to compile it on Linux (Xubuntu 22.04) but it fails .. however, i found some info to fix it.
first i had to adjust some Cmake file, because the command
cmake .
ends with the errorUnknown CMake command "qt_standard_project_setup"
.. i found a solution at https://stackoverflow.com/questions/75624351/unknown-cmake-command-qt-standard-project-setup-on-raspberry-pi : about 1 year ago some user had the same problem and the fix also seems to work for me : in the file/lib/chessui/CMakeLists.txt
i had to change the lineqt_standard_project_setup()
and its 2set
commands into these 3 lines :this way
cmake
runs properly : amakefile
is created.but the compiling fails with many (same) errors .. i guess you're using some typical Windows code construction, here are the crucial parts of my error messages :
..and it ends with :
i guess this should be easy to fix. i don't do Windows.