1
|
=== Build (Elapsed: 47 sec) ===
|
2
|
Waijung 2: System information
|
3
|
Computer:
|
4
|
Operating System:
|
5
|
Matlab: (R2020a)
|
6
|
Waijung 2 version: 22.4b
|
7
|
Waijung 2 root: C:\Waijung\esp32\latest
|
8
|
Waijung 2 System Target File: esp32.tlc
|
9
|
Waijung 2: 'RTWVerbose' is: 'on'
|
10
|
Waijung 2: SimulationMode is: 'normal'
|
11
|
Waijung 2: Removing remaing source files from previous build
|
12
|
### Starting build procedure for: esp32extant_wifi_B1_20220107new2
|
13
|
End of entry
|
14
|
### Generating code and artifacts to 'Model specific' folder structure
|
15
|
### Generating code into build folder: Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32
|
16
|
Warning:Source 'esp32extant_wifi_B1_20220107new2/Connect with AP/Connect to AP: ROBO_ROUTER1' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.
|
17
|
Warning:Source 'esp32extant_wifi_B1_20220107new2/Connect with AP/Pass: MESH1234' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.
|
18
|
### Invoking Target Language Compiler on esp32extant_wifi_B1_20220107new2.rtw
|
19
|
### Using System Target File: C:\Waijung\esp32\latest\targets\esp32\esp32.tlc
|
20
|
### Loading TLC function libraries
|
21
|
### Initial pass through model to cache user defined code
|
22
|
### Caching model source code
|
23
|
### Writing header file esp32extant_wifi_B1_20220107new2_types.h
|
24
|
### Writing header file waijung2_hwdrvlib.h
|
25
|
.
|
26
|
### Writing source file waijung2_hwdrvlib.c
|
27
|
### Writing header file esp32extant_wifi_B1_20220107new2.h
|
28
|
### Writing header file rtwtypes.h
|
29
|
### Writing header file zero_crossing_types.h
|
30
|
### Writing source file esp32extant_wifi_B1_20220107new2.c
|
31
|
.
|
32
|
### Writing header file esp32extant_wifi_B1_20220107new2_private.h
|
33
|
### Writing source file esp32extant_wifi_B1_20220107new2_data.c
|
34
|
### Writing header file rtmodel.h
|
35
|
### Writing source file ert_main.c
|
36
|
.
|
37
|
### TLC code generation complete.
|
38
|
.
|
39
|
### Processing Template Makefile: C:\Waijung\esp32\latest\targets\esp32\src\esp32.tmf
|
40
|
### Creating Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32\esp32extant_wifi_B1_20220107new2.mk from C:\Waijung\esp32\latest\targets\esp32\src\esp32.tmf
|
41
|
### Building esp32extant_wifi_B1_20220107new2: .\esp32extant_wifi_B1_20220107new2.bat
|
42
|
|
43
|
Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32>set MATLAB=C:\Program Files\MATLAB\R2020a
|
44
|
|
45
|
Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32>"C:\Program Files\MATLAB\R2020a\bin\win64\gmake" -f esp32extant_wifi_B1_20220107new2.mk GENERATE_ASAP2=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DTID01EQ=0"
|
46
|
### BUILD_MODE : real_time
|
47
|
### PRODUCT : esp32extant_wifi_B1_20220107new2.out
|
48
|
### SHRLIBTARGET : 0
|
49
|
### MODULES : ert_main.c esp32extant_wifi_B1_20220107new2.c esp32extant_wifi_B1_20220107new2_data.c waijung2_hwdrvlib.c rt_main.c
|
50
|
### MODELREF_TARGET_TYPE : NONE
|
51
|
### MAKEFILEBUILDER_TGT : 0
|
52
|
### STANDALONE_SUPPRESS_EXE : 0
|
53
|
### Source ert_main.c done
|
54
|
### Source esp32extant_wifi_B1_20220107new2.c done
|
55
|
### Source esp32extant_wifi_B1_20220107new2_data.c done
|
56
|
### Source waijung2_hwdrvlib.c done
|
57
|
### Ending esp32extant_wifi_B1_20220107new2.out real_time
|
58
|
### Created esp32extant_wifi_B1_20220107new2.out successfully (or it was already up to date)
|
59
|
### Successful completion of build procedure for: esp32extant_wifi_B1_20220107new2
|
60
|
Waijung 2: Post processing started.
|
61
|
Waijung 2: Creating custom partition table
|
62
|
Waijung 2: Copying required header and source files to the target build directory.
|
63
|
Waijung 2: Setting the ESP32 target to ESP32
|
64
|
-- Found Git: C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1")
|
65
|
-- Component directory //localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/components/simulink does not contain a CMakeLists.txt file. No component will be added
|
66
|
-- The C compiler identification is GNU 8.4.0
|
67
|
-- The CXX compiler identification is GNU 8.4.0
|
68
|
-- The ASM compiler identification is GNU
|
69
|
-- Found assembler: C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
|
70
|
-- Detecting C compiler ABI info
|
71
|
-- Detecting C compiler ABI info - failed
|
72
|
-- Check for working C compiler: C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
|
73
|
-- Check for working C compiler: C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - broken
|
74
|
CMake Error at C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/cmake/3.20.3/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
|
75
|
The C compiler
|
76
|
"C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe"
|
77
|
is not able to compile a simple test program.
|
78
|
It fails with the following output:
|
79
|
Change Dir: //localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeTmp
|
80
|
Run Build Command(s):C:/Waijung/esp32/latest/targets/esp32/setup/.espressif/tools/ninja/1.10.2/ninja.exe cmTC_21793 && [1/2] Building C object CMakeFiles/cmTC_21793.dir/testCCompiler.c.obj
|
81
|
[2/2] Linking C executable cmTC_21793
|
82
|
FAILED: cmTC_21793
|
83
|
cmd.exe /C "cd . && C:\Waijung\esp32\latest\targets\esp32\setup\.espressif\tools\xtensa-esp32-elf\esp-2021r2-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -mlongcalls -Wno-frame-address CMakeFiles/cmTC_21793.dir/testCCompiler.c.obj -o cmTC_21793 && cd ."
|
84
|
'\\localhost\d$\projects\Matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32_build_system\build\CMakeFiles\CMakeTmp'
|
85
|
CMD.EXE was started with the above path as the current directory.
|
86
|
UNC paths are not supported. Defaulting to Windows directory.
|
87
|
xtensa-esp32-elf-gcc.exe: error: CMakeFiles/cmTC_21793.dir/testCCompiler.c.obj: No such file or directory
|
88
|
xtensa-esp32-elf-gcc.exe: fatal error: no input files
|
89
|
compilation terminated.
|
90
|
ninja: build stopped: subcommand failed.
|
91
|
CMake will not be able to correctly generate this project.
|
92
|
Call Stack (most recent call first):
|
93
|
C:/Waijung/esp32/latest/targets/esp32/setup/esp_idf/tools/cmake/project.cmake:290 (__project)
|
94
|
CMakeLists.txt:10 (project)
|
95
|
-- Configuring incomplete, errors occurred!
|
96
|
See also "//localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeOutput.log".
|
97
|
See also "//localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeError.log".
|
98
|
cmake failed with exit code 1
|
99
|
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
|
100
|
Executing action: fullclean
|
101
|
Build directory '\\localhost\d$\projects\matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_b1_20220107new2_esp32_build_system\build' not found. Nothing to clean.
|
102
|
Executing action: set-target
|
103
|
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
|
104
|
Running cmake in directory \\localhost\d$\projects\matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_b1_20220107new2_esp32_build_system\build
|
105
|
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 \\localhost\d$\projects\matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_b1_20220107new2_esp32_build_system"...
|
106
|
### Build procedure for esp32extant_wifi_B1_20220107new2 aborted due to an error.
|
107
|
Error:The call to esp32_make_rtw_hook, during the exit hook generated the following error:
|
108
|
Invalid file identifier. Use fopen to generate a valid file identifier.
|
109
|
|
110
|
The build process will terminate as a result.
|
111
|
Caused by:
|
112
|
Invalid file identifier. Use fopen to generate a valid file identifier.
|