blob: c177c034518320d9775a9d5d5bb6b56a6477e139 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
Ninja failing on Step 71/346
I have installed all the possible prerequisites on the install page and I am running Armbian, a modified version of Debian. uname -a yields:
```bash
Linux rock-5b 5.10.110-rockchip-rk3588 #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 aarch64 GNU/Linux
```
```bash
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_LTO=True -DENABLE_LLD=True -DBUILD_TESTS=False -DENABLE_ASSERTIONS=False -G Ninja ..
```
Works and gets this output:
```bash
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - 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/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file gdb/jit-reader.h
-- Looking for include file gdb/jit-reader.h - not found
-- CCache enabled
-- Performing Test ENUM_ENUM_WARNING
-- Performing Test ENUM_ENUM_WARNING - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found Python: /usr/bin/python3.9 (found suitable version "3.9.2", minimum required is "3.0") found components: Interpreter
-- Module support is disabled.
-- Version: 9.0.0
-- Build type: RELEASE
-- CXX_STANDARD: 20
-- Performing Test has_std_20_flag
-- Performing Test has_std_20_flag - Success
-- Performing Test has_std_2a_flag
-- Performing Test has_std_2a_flag - Success
-- Required features: cxx_variadic_templates
-- Performing Test HAS_NULLPTR_WARNING
-- Performing Test HAS_NULLPTR_WARNING - Success
-- Performing Test GCC_COLOR
-- Performing Test GCC_COLOR - Success
-- Performing Test CLANG_COLOR
-- Performing Test CLANG_COLOR - Success
-- Performing Test COMPILER_SUPPORTS_CPU_TYPE
-- Performing Test COMPILER_SUPPORTS_CPU_TYPE - Success
-- Performing Test compiles
-- Performing Test compiles - Success
-- Has getcpu helper
-- Has gettid helper
-- Has tgkill helper
-- Has statx helper
-- Has renameat2 helper
-- Found Git: /usr/bin/git (found version "2.30.2")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zach/Downloads/FEX/Build
```
After this I run the ninja for building and get the following:
```bash
[0/2] Re-checking globbed directories...
[71/346] Linking CXX s...arse/libcpp-optparse.a
FAILED: External/cpp-optparse/libcpp-optparse.a
: && /usr/bin/cmake -E rm -f External/cpp-optparse/libcpp-optparse.a && "CMAKE_CXX_COMPILER_AR-NOTFOUND" cr External/cpp-optparse/libcpp-optparse.a External/cpp-optparse/CMakeFiles/cpp-optparse.dir/OptionParser.cpp.o && "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND" External/cpp-optparse/libcpp-optparse.a && :
/bin/sh: 1: CMAKE_CXX_COMPILER_AR-NOTFOUND: not found
[80/346] Linking C sta...nal/xxhash/libxxhash.a
FAILED: External/xxhash/libxxhash.a
: && /usr/bin/cmake -E rm -f External/xxhash/libxxhash.a && "CMAKE_C_COMPILER_AR-NOTFOUND" cr External/xxhash/libxxhash.a External/xxhash/CMakeFiles/xxhash.dir/xxhash.c.o && "CMAKE_C_COMPILER_RANLIB-NOTFOUND" External/xxhash/libxxhash.a && :
/bin/sh: 1: CMAKE_C_COMPILER_AR-NOTFOUND: not found
ninja: build stopped: subcommand failed.
```
Any ideas on what is causing this and how to fix it? I am running on a ROCK 5b with the Rockchip 3588.
|