Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-120

thermo demo doesn't build

    XMLWordPrintable

Details

    • All

    Description

      thermo demo on my Qt Creator doesn't build on my Qt Creator where other demos build without any issues.

      [Environment]

      Qt Creator 7.0.2

      Windows 11

      Kit : Qt for MCUs 2.2 - Desktop 32bpp

       

      Here is the compile output:

       

      18:15:38: プロジェクト thermo のステップを実行中...
      18:15:38: 起動中: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build C:/Qt/QtMCUs/2.2.1/demos/build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug --target all
      [1/275 1.3/sec] Building CXX object CMakeFiles\thermo_small_module.dir\thermo_small_module\Thermo\Rooms.cpp.obj
      FAILED: CMakeFiles/thermo_small_module.dir/thermo_small_module/Thermo/Rooms.cpp.obj 
      C:\PROGRA~2\MICROS~3\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX86\x64\cl.exe  /nologo /TP -DQUL_ENABLE_TEXT_CACHE -DQUL_IS_QT_BUILD -DQUL_STD_STRING_SUPPORT -IC:\Qt\QtMCUs\2.2.1\include /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd -D_CRT_SECURE_NO_WARNINGS /wd4244 /wd4267 /wd4305 /showIncludes /FoCMakeFiles\thermo_small_module.dir\thermo_small_module\Thermo\Rooms.cpp.obj /FdCMakeFiles\thermo_small_module.dir\thermo_small_module.pdb /FS -c C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(1): warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(32): error C3688: invalid literal suffix 'リコリアル・ゥ'; literal operator or literal operator template 'operator ""リコリアル・ゥ' not found
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(32): error C2146: syntax error: missing ')' before identifier 'ル・異・リァル・」リキル・ァル・'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(32): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(33): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(33): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(34): error C3688: invalid literal suffix 'リァル・キリァリィル・リァル・ォリァル・・'; literal operator or literal operator template 'operator ""リァル・キリァリィル・リァル・ォリァル・・' not found
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(34): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(35): error C2062: type 'const char' unexpected
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(35): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(35): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(36): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(37): error C2062: type 'const char' unexpected
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(37): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(37): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(37): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_small_module\Thermo\Rooms.cpp(36): fatal error C1075: '{': no matching token found
      [2/275 2.5/sec] Building CXX object CMakeFiles\thermo_big_module.dir\thermo_big_module\Thermo\Rooms.cpp.obj
      FAILED: CMakeFiles/thermo_big_module.dir/thermo_big_module/Thermo/Rooms.cpp.obj 
      C:\PROGRA~2\MICROS~3\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX86\x64\cl.exe  /nologo /TP -DQUL_ENABLE_TEXT_CACHE -DQUL_IS_QT_BUILD -DQUL_STD_STRING_SUPPORT -IC:\Qt\QtMCUs\2.2.1\include /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd -D_CRT_SECURE_NO_WARNINGS /wd4244 /wd4267 /wd4305 /showIncludes /FoCMakeFiles\thermo_big_module.dir\thermo_big_module\Thermo\Rooms.cpp.obj /FdCMakeFiles\thermo_big_module.dir\thermo_big_module.pdb /FS -c C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(1): warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(32): error C3688: invalid literal suffix 'リコリアル・ゥ'; literal operator or literal operator template 'operator ""リコリアル・ゥ' not found
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(32): error C2146: syntax error: missing ')' before identifier 'ル・異・リァル・」リキル・ァル・'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(32): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(33): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(33): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(34): error C3688: invalid literal suffix 'リァル・キリァリィル・リァル・ォリァル・・'; literal operator or literal operator template 'operator ""リァル・キリァリィル・リァル・ォリァル・・' not found
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(34): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(35): error C2062: type 'const char' unexpected
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(35): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(35): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(36): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(37): error C2062: type 'const char' unexpected
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(37): error C2143: syntax error: missing ';' before '{'
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(37): error C2447: '{': missing function header (old-style formal list?)
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(37): error C2001: newline in constant
      C:\Qt\QtMCUs\2.2.1\demos\build-thermo-Qt_for_MCUs_2_2_Desktop_32bpp_e1b4b3-Debug\thermo_big_module\Thermo\Rooms.cpp(36): fatal error C1075: '{': no matching token found
      ninja: build stopped: subcommand failed.
      18:15:38: プロセス "C:\Qt\Tools\CMake_64\bin\cmake.exe" はコード 1 で終了しました。
      プロジェクト thermo のビルド・デプロイ中にエラーが発生しました (キット Qt for MCUs 2.2 - Desktop 32bpp)
      ステップ "Build" 実行中
      18:15:39: Elapsed time: 00:01.
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jan-karasinski Jan Karasiński
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes