=== Build (Elapsed: 47 sec) === Waijung 2: System information Computer: Operating System: Matlab: (R2020a) Waijung 2 version: 22.4b Waijung 2 root: C:\Waijung\esp32\latest Waijung 2 System Target File: esp32.tlc Waijung 2: 'RTWVerbose' is: 'on' Waijung 2: SimulationMode is: 'normal' Waijung 2: Removing remaing source files from previous build ### Starting build procedure for: esp32extant_wifi_B1_20220107new2 End of entry ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32 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. 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. ### Invoking Target Language Compiler on esp32extant_wifi_B1_20220107new2.rtw ### Using System Target File: C:\Waijung\esp32\latest\targets\esp32\esp32.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code ### Caching model source code ### Writing header file esp32extant_wifi_B1_20220107new2_types.h ### Writing header file waijung2_hwdrvlib.h . ### Writing source file waijung2_hwdrvlib.c ### Writing header file esp32extant_wifi_B1_20220107new2.h ### Writing header file rtwtypes.h ### Writing header file zero_crossing_types.h ### Writing source file esp32extant_wifi_B1_20220107new2.c . ### Writing header file esp32extant_wifi_B1_20220107new2_private.h ### Writing source file esp32extant_wifi_B1_20220107new2_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c . ### TLC code generation complete. . ### Processing Template Makefile: C:\Waijung\esp32\latest\targets\esp32\src\esp32.tmf ### 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 ### Building esp32extant_wifi_B1_20220107new2: .\esp32extant_wifi_B1_20220107new2.bat Y:\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32>set MATLAB=C:\Program Files\MATLAB\R2020a 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" ### BUILD_MODE : real_time ### PRODUCT : esp32extant_wifi_B1_20220107new2.out ### SHRLIBTARGET : 0 ### MODULES : ert_main.c esp32extant_wifi_B1_20220107new2.c esp32extant_wifi_B1_20220107new2_data.c waijung2_hwdrvlib.c rt_main.c ### MODELREF_TARGET_TYPE : NONE ### MAKEFILEBUILDER_TGT : 0 ### STANDALONE_SUPPRESS_EXE : 0 ### Source ert_main.c done ### Source esp32extant_wifi_B1_20220107new2.c done ### Source esp32extant_wifi_B1_20220107new2_data.c done ### Source waijung2_hwdrvlib.c done ### Ending esp32extant_wifi_B1_20220107new2.out real_time ### Created esp32extant_wifi_B1_20220107new2.out successfully (or it was already up to date) ### Successful completion of build procedure for: esp32extant_wifi_B1_20220107new2 Waijung 2: Post processing started. Waijung 2: Creating custom partition table Waijung 2: Copying required header and source files to the target build directory. Waijung 2: Setting the ESP32 target to ESP32 -- 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") -- 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 -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- The ASM compiler identification is GNU -- 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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- 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 -- 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 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): The 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" is not able to compile a simple test program. It fails with the following output: Change Dir: //localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeTmp 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 [2/2] Linking C executable cmTC_21793 FAILED: cmTC_21793 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 ." '\\localhost\d$\projects\Matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_B1_20220107new2_esp32_build_system\build\CMakeFiles\CMakeTmp' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. xtensa-esp32-elf-gcc.exe: error: CMakeFiles/cmTC_21793.dir/testCCompiler.c.obj: No such file or directory xtensa-esp32-elf-gcc.exe: fatal error: no input files compilation terminated. ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): C:/Waijung/esp32/latest/targets/esp32/setup/esp_idf/tools/cmake/project.cmake:290 (__project) CMakeLists.txt:10 (project) -- Configuring incomplete, errors occurred! See also "//localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeOutput.log". See also "//localhost/d$/projects/Matlab/2020a/esp32/tst15_esp32_commercial/tst02/esp32extant_wifi_B1_20220107new2_esp32_build_system/build/CMakeFiles/CMakeError.log". cmake failed with exit code 1 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean 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. Executing action: set-target Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old. Running cmake in directory \\localhost\d$\projects\matlab\2020a\esp32\tst15_esp32_commercial\tst02\esp32extant_wifi_b1_20220107new2_esp32_build_system\build 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"... ### Build procedure for esp32extant_wifi_B1_20220107new2 aborted due to an error. Error:The call to esp32_make_rtw_hook, during the exit hook generated the following error: Invalid file identifier. Use fopen to generate a valid file identifier. The build process will terminate as a result. Caused by: Invalid file identifier. Use fopen to generate a valid file identifier.