Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 6.0.0
-
None
Description
When using a kit with the IAR toolchain, after setting the path to IAR ARM Compiler in the MCU Device requirements (pic_1), the project configuration fails because the Kit doesn't have a C/C++ compiler specified
You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= CMAKE_CXX_COMPILER= -- The C compiler identification is IAR ARM 8.50.9 -- The CXX compiler identification is IAR ARM 8.50.9 -- The ASM compiler identification is IAR ARM 8.50.9 -- Found assembler: /opt/iarsystems/bxarm/arm/bin/iasmarm CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineASMCompiler.cmake:17 (message): Could not find compiler set in environment variable ASM_MASM: ml. Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/CMakeDetermineASM_MASMCompiler.cmake:17 (include) CMakeLists.txt:3 (project) CMake Error: CMAKE_ASM_MASM_COMPILER not set, after EnableLanguage
The NXP1050 IAR Kit shows warnings for missing C/C++ compilers (pic_2).
After manually adding the C/C++ compilers to QtCreator (IAREW in pic_3) then the kit doesn't show anymore warnings (pic_4) and the project configures and builds fine.
Not sure if it's a bug or should be documented somewhere that it is necessary to add manually once the IAR C/C++ compilers if not auto-detected.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-25980 On Ubuntu Qt Creator shows warning on autogenerated IAR kit
- Closed