Remember me

Lost Password?

Register now!


Who's Online
69 user(s) are online (57 user(s) are browsing Forums)

Members: 0
Guests: 69



Report message:*

Re: Cmake and adtools

Subject: Re: Cmake and adtools
by alfkil on 2021/8/26 16:10:21


cmake -DCMAKE_SYSTEM_NAME="Generic"\
-DCMAKE_C_COMPILER="ppc-amigaos-gcc" \
-DCMAKE_CXX_COMPILER="ppc-amigaos-g++" \
-DCMAKE_ASM_COMPILER="ppc-amigaos-as" \
-DCMMAKE_CXX_FLAGS_INIT="-mcrt=clib2 -athread=native" \
-DCMAKE_C_FLAGS_INIT="-mcrt=clib2" \
-DUNIX=1 \
-DQT_HOST_PATH="/usr/lib/x86_64-linux-gnu" ..

Thanks! I had a little progress. The minimal cmake now configures correctly. Problem now : I need -G Ninja, which makes the configuration fail with this output:


-- The CXX compiler identification is GNU 11.1.0
-- The C compiler identification is GNU 11.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/adtools/bin/ppc-amigaos-as
-- Check for working CXX compiler: /opt/adtools/bin/ppc-amigaos-g++
CMake Error:
The detected version of Ninja (GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.) is less than the
version of Ninja required by CMake (1.3).

CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:37 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
CMakeLists.txt:39 (project)

-- Configuring incomplete, errors occurred! See also "/home/alfkil/qt6-build/CMakeFiles/CMakeOutput.log".

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project