Error when building VEEPort-STMicroelectronics-STM32F7508-DK 1.6.1

Hello,
I have encountered the following error while building the VEEPort-STMicroelectronics-STM32F7508-DK 1.6.1 using build.bat with GCC Toolchain (SW4STM32).

C:/veePorts/VEEPort-STMicroelectronics-STM32F7508-DK/stm32f7508_freertos-bsp/projects/microej/net/inc/MicroEJ_errno.h:16:25: error: expected ')' before 'pvTaskGetThreadLocalStoragePointer'
   16 | #define errno ((int32_t)pvTaskGetThreadLocalStoragePointer(NULL, 0))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What am I missing?
Thanks.

Hello Medhi,

Most likely it is because did not execute the script stm32f7508_freertos-bsp/projects/microej/scripts/RunAtFirstBSPCompile before the first compilation.

Best,

1 Like

That was it. Thank you!