Cannot compile Win32-MinGW Demo

HI
I just download the demo in eclipse and once trying to compile this is what I get
D:\FreeRTOS\FreeRTOS\Demo\WIN32-MingW/FreeRTOSConfig.h:156:26: fatal error: trcRecorder.h: No such file or directory

  • #include “trcRecorder.h”*
    Can someone help me

thanks
Christian

looks like your code sample assumes tracealyzer. You will need to download that from percepios site or choose a different code sample…

Where did you download the project from? If you cloned the FreeRTOS/FreeRTOS repository, Percepio’s tracelyzer recorder library is in the repo - FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace at main · FreeRTOS/FreeRTOS · GitHub

Did you make sure “copy project into workspace” was not checked when you imported the project into Eclipse?

I just tried building a clean copy of the project and was successful, albeit with the following warning:

..\..\..\Source\portable\MSVC-MingW\port.c: In function 'pxPortInitialiseStack':
..\..\..\Source\portable\MSVC-MingW\port.c:249:60: warning: cast between incompatible function types from 'TaskFunction_t' {aka 'void (*)(void *)'} to 'DWORD (__attribute__((stdcall)) *)(void *)' [-Wcast-function-type]
  249 |  pxThreadState->pvThread = CreateThread( NULL, xStackSize, ( LPTHREAD_START_ROUTINE ) pxCode, pvParameters, CREATE_SUSPENDED | STACK_SIZE_PARAM_IS_A_RESERVATION, NULL );
      |