2023-11-24 05:03 AM
Hello,
I installed all needed tools and software according to STM32H5_Security_Workshop_tools_installation.pdf but I cannot compile the SMAK application. This is the error message I get:
Br,
Iulia
Solved! Go to Solution.
2023-11-29 07:36 AM
2023-11-27 02:26 AM
Hello lulia,
try to install your STM32CubeH5 folder directly in C:\ directory and it should work.
BR
Chloé
2023-11-27 02:37 AM
Hello,
I have read this thread which proposes the solution you mention: Solved: I can't compile SMAK application with STM32CubeIDE - STMicroelectronics Community I copied the STM32Cube_FW_H5_V1.1.1 folder directly to the C drive, opened the SMAK application in STM32CubeIDE and tried to compile but that gave me the same error.
Best regards,
Iulia
2023-11-27 05:15 AM
Which version of STM32CubeIDE do you use?
Can you share your prebuild.log file please?
BR
Chloé
2023-11-27 05:51 AM
STM32CubeIDE 1.14.0
There is no prebuild.log file generated in my SMAK_Appli folder or is it generated somewhere else?
// Iulia
2023-11-27 06:07 AM
You should have a look at C:\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573I-DK\Applications\ROT\SMAK_Appli
2023-11-27 06:10 AM
It is written in your scrrenshot that env.sh is missing.
You should have this file in SMAK_Appli folder :
C:\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573I-DK\Applications\ROT\SMAK_Appli
Can you check that this file is present?
BR
Chloé
2023-11-27 06:16 AM - edited 2023-11-27 06:18 AM
Yes, exactly, I don't have a prebuild.log file in C:\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573I-DK\Applications\ROT\SMAK_Appli.
I seem to have a prebuild.log file directly under the C:\ but it doesn't provide more information than the STM32CubeIDE console.
Yes, I have a env.sh file in C:\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573I-DK\Applications\ROT\SMAK_Appli folder.
2023-11-27 06:27 AM
I think you don't have install all the prerequisites.
Could you check that all the prerequisites listed in this wiki page are done :
BR
Chloé
2023-11-27 07:04 AM
The only thing that might differ is this requirement:
I installed this according to the instructions in the pdf file provided:
How can the IDE not find the env.sh file even though it's there? is there a path setting that is missing?