Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt for MCUs 2.7
-
None
Description
I'm on Windows11.
I used my MaintenanceTool.exe to install "Qt Quick Ultralite Sources" but "minihdlc" folder didn't exist in my src/3rdparty folder.
This causes an error below when I tried to build QUL myself.
C:\Qt\QtMCUs\2.7.0_Performance_Logging_STM32F769I\build>C:\Qt\QtMCUs\stm32f769i_performance_logging_build.bat rem https://doc.qt.io/QtForMCUs-2.7/qtul-building-from-sources.html rem please add the path to lupdate.exe to PATH to avoid an error set QUL_INSTALL_DIR=C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\ set QUL_BUILD_DIR=C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\build rm -r QUL_BUILD_DIR rm: cannot remove `QUL_BUILD_DIR': No such file or directory rm -r QUL_INSTALL_DIR rm: cannot remove `QUL_INSTALL_DIR': No such file or directory set QUL_ROOT=C:\Qt\QtMCUs\2.7.0 set QUL_TOOLS=C:\Qt\Tools\QtMCUs set QUL_VERSION=2.7 set Path=C:\Qt\QtMCUs\2.7.0\bin;C:\Qt\QtMCUs\2.7.0\bin;C:\Qt\QtMCUs\2.7.0\bin;C:\Qt\QtMCUs\2.7.0\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\squishcoco;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\ProgramData\pbox;C:\Programs\mingw-tdm-gcc\bin;C:\Programs\mingw-tdm-gcc\mingw32\bin;C:\Programs\mingw-tdm-gcc\msys\1.0\bin;C:\Programs\mingw-tdm-gcc\msys\1.0\sbin;C:\Program Files (x86)\WinMerge;C:\Program Files\PuTTY\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\bin;C:\Users\81808\squishcoco;C:\Program Files\CMake\bin;C:\LLVM\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\gettext-iconv\bin;C:\Program Files\win_flex_bison-latest;C:\Program Files (x86)\Gow\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin;C:\Program Files\Go\bin;C:\QA\Coco\squishcoco611;C:\QA\Coco\squishcoco700;C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\MATLAB\R2023b\bin;C:\Program Files\MATLAB\R2022b\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\81808\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\81808\AppData\Local\Programs\Python\Python311\;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\ProgramData\pbox;C:\Programs\mingw-tdm-gcc\bin;C:\QA\Coco\squishcoco700;C:\Programs\mingw-tdm-gcc\mingw32\bin;C:\Programs\mingw-tdm-gcc\msys\1.0\bin;C:\Programs\mingw-tdm-gcc\msys\1.0\sbin;C:\Program Files (x86)\WinMerge;C:\Program Files\PuTTY\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\CMake\bin;C:\LLVM\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\P;C:\Users\81808\AppData\Local\Programs\Microsoft VS Code\;C:\Users\81808\go\bin;C:\Program Files\Go\bin;C:\bazel;C:\Program Files\NASM;C:\Ninja;C:\Users\81808\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\nvim-win64\bin;C:\Program Files\Android\platform-tools_r33.0.2-windows\platform-tools; set QUL_PLATFORM_NAME=stm32f769i-discovery-baremetal set QUL_BOARD_SDK_DIR=C:\Qt\Tools\QtMCUs\STM\STM32Cube_FW_F7_V1.17.1 set CMAKE_TOOLCHAIN_FILE=C:\Qt\QtMCUs\2.7.0\lib\cmake\Qul\toolchain\armgcc.cmake set QUL_TARGET_TOOLCHAIN_DIR=C:\Qt\Tools\QtMCUs\arm_gcc_10 set QUL_VERSION=2.7 mkdir C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\ xcopy C:\Qt\QtMCUs\2.7.0 C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\ /e /y /q Insufficient memory 13237 File(s) copied mkdir C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\build cd C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\build cmake C:\Qt\QtMCUs\2.7.0 -DQul_ROOT=C:\Qt\QtMCUs\2.7.0 -G "Ninja" -DQUL_ENABLE_PERFORMANCE_LOGGING=on -DQUL_ENABLE_PERFORMANCE_CONSOLE_OUTPUT=on -DQUL_ENABLE_HARDWARE_PERFORMANCE_LOGGING=on -DCMAKE_INSTALL_PREFIX=C:\Qt\QtMCUs\2.7.0_PL_STM32F769I\ -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=C:\Qt\QtMCUs\2.7.0\lib\cmake\Qul\toolchain\armgcc.cmake -DQUL_TARGET_TOOLCHAIN_DIR=C:\Qt\Tools\QtMCUs\arm_gcc_10 -DQUL_BOARD_SDK_DIR=C:\Qt\Tools\QtMCUs\STM\STM32Cube_FW_F7_V1.17.1 -DQUL_PLATFORM=stm32f769i-discovery-baremetal -DQUL_BUILD_DEMOS=OFF -DQUL_BUILD_EXAMPLES=OFF -DQUL_GENERATORS=C:\Qt\QtMCUs\2.7.0/lib/cmake/Qul/QulGenerators.cmake -DFREERTOS_DIR= -DQUL_VERSION=2.7 -- CMake version 3.25.1 -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- The ASM compiler identification is GNU -- Found assembler: C:/Qt/Tools/QtMCUs/arm_gcc_10/bin/arm-none-eabi-gcc.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Qt/Tools/QtMCUs/arm_gcc_10/bin/arm-none-eabi-gcc.exe - 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: C:/Qt/Tools/QtMCUs/arm_gcc_10/bin/arm-none-eabi-g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Version: 2.7 -- IPO will be enabled for executable targets -- Qul Platform Boards Directory: C:/Qt/QtMCUs/2.7.0/platform/boards -- Qul Target Platform Directory: C:/Qt/QtMCUs/2.7.0/platform/boards/st/stm32f769i-discovery-baremetal -- Found Monotype's iType Spark : C:/Qt/QtMCUs/2.7.0/src/3rdparty/monotype/itypespark -- Found Monotype's WordType Spark : C:/Qt/QtMCUs/2.7.0/src/3rdparty/monotype/shaperspark -- Using Monotype Spark port files from : C:/Qt/QtMCUs/2.7.0/src/text/monotype/port/boards -- Loading board defaults from C:/Qt/QtMCUs/2.7.0/platform/boards/st/stm32f769i-discovery-baremetal/cmake/BoardDefaults_32bpp.qmlprojectconfig file -- Autodetection of QUL_OS basing on QUL_PLATFORM name: baremetal -- Qul Color Depth: 32 -- QUL_DEFAULT_RESOURCE_IMAGE_PIXEL_FORMAT: Automatic -- QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA: ARGB8888 -- QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE: XRGB8888 -- Translation tools from C:/Qt/QtMCUs/2.7.0/bin will be used Build Qul framework -- Qul Architecture: cortex-m7-hf-fpv5-d16 -- Qul Platform OS: baremetal Using FreeType rasterizer: enabled Support for std::string conversions: enabled Build Qul Platform -- Qul Platform Backend: stm32f769i-discovery-baremetal -- Qul Platform OS: baremetal -- QUL_BOARD_SDK_DIR: C:/Qt/Tools/QtMCUs/STM/STM32Cube_FW_F7_V1.17.1 -- SDK VERSION: 1.17.1 -- Qul Screen Size: 480x800 -- Skipping platform metadata export. To enable it create an empty file at C:/Qt/QtMCUs/2.7.0_PL_STM32F769I/build/.cmake/api/v1/query/codemodel-v2: -- mkdir .cmake\api\v1\query && echo . > .cmake\api\v1\query\codemodel-v2 -- Configuring done CMake Error at platform/common/devicelink.cmake:10 (add_library): Cannot find source file: C:/Qt/QtMCUs/2.7.0/src/3rdparty/minihdlc/minihdlc.c Call Stack (most recent call first): platform/CMakeLists.txt:200 (include) CMake Error at platform/common/devicelink.cmake:10 (add_library): No SOURCES given to target: DeviceLink Call Stack (most recent call first): platform/CMakeLists.txt:200 (include) CMake Generate step failed. Build files cannot be regenerated correctly. cmake --build . ninja: error: loading 'build.ninja': 指定されたファイルが見つかりません。 cmake --install . CMake Error: Error processing file: C:/Qt/QtMCUs/2.7.0_PL_STM32F769I/build/cmake_install.cmake