Check for working C compiler: C:/Program Files/IAR Systems/Embedded Workbench 9.0/arm/bin/iccarm.exe This is because the build environment might not be the same as the configure environment, so changes to the PATH can be OK, I do get a bit futher with that, but I get the following error: - The C compiler identification is IAR ARM 9.10.2 I think instead of modifying the PATH like this toolchain example does, it would be better to use a find_package script to locate the IAR toolchain and use complete paths for the C compiler, etc. The C compiler identification is unknown See also "C:/Workspaces/IARExamples/cmake-tutorial/examples/using-libs/arm/_builds/CMakeFiles/CMakeError.log".Ĭ:\Workspaces\IARExamples\cmake-tutorial\examples\using-libs\arm>Ĭ:\Workspaces\IARExamples\cmake-tutorial\examples\using-libs\arm>cmake -G "Ninja Multi-Config" -B_builds -toolchain. See also "C:/Workspaces/IARExamples/cmake-tutorial/examples/using-libs/arm/_builds/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! The compiler, or to the compiler name if it is in the PATH. Variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to Tell CMake where to find the compiler by setting either the environment Is not a full path and was not found in the PATH. I get the following output for the example program: - The C compiler identification is unknownĬMake Error at CMakeLists.txt:3 (project): Set(IAR_INSTALL_DIR "C:\\Program Files\\IAR Systems\\Embedded Workbench 9.0\\arm")Īnd running the command `C:\Workspaces\IARExamples\cmake-tutorial\examples\using-libs\arm>cmake -G “Ninja Multi-Config” -B_builds -toolchain …/…/iar-toolchain.cmake``` # Action: Set the `IAR_INSTALL_DIR` to the tool installation path Using the following settings in iar-toolchain.cmake: # Action: Set the `` to the compiler's target architecture Something about the way it’s trying to modify the path to add the IAR bin/ directory isn’t working on my system, so it can’t find any of the IAR tools on configure. Unfortunately that example project doesn’t work for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |