compilation error in demo project ( Error C1083 Cannot open include file: 'trcRecorder.h': No such file or director)

lahouma wrote on Friday, March 15, 2019:

Bonjour j’ai utilisé le projet demo win32_MSCV et lors de manipulation de ce projet j’ai utilisé vTaskList j’ai eu un problème de compilation (Error C1083 Cannot open include file: ‘trcRecorder.h’: No such file or director) malgrés que le fichier trcRecorder.h existe.

rtel wrote on Friday, March 15, 2019:

Which project are you trying to build? Or did you create a project
yourself?

The trace recorder code is only included in a few projects that we
distribute, they should build, but of course there is always a chance
that we missed something.

lahouma wrote on Monday, April 01, 2019:

I create a new project that crate 2 tasks and send their behaviour into
UART but the debuging does not function there are inhandled exception.

lahouma wrote on Monday, April 01, 2019:

in windows demo Win32.sln

rtel wrote on Monday, April 01, 2019:

It is not clear what you are doing, but from your posts so far it sounds like you have created a project using the Windows simulator, and that project is having a problem related to the trace recorder. I am assuming that if you created the project yourself that you have not added the trace recorder code and that is the cause of your issue.

If you use the Win32 project in the FreeRTOS download then you need to remove any calls to the trace functionality. For example:

  1. Remove the call to vTraceEnable(): https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/WIN32-MSVC/main.c#l146
  2. Remove the call to uiTraceStart(): https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/WIN32-MSVC/main.c#l160
  3. Remove the inclusion of trcRecorder.h https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/WIN32-MSVC/FreeRTOSConfig.h#l124
  4. Set configUSE_TRACE_FACILITY to 0 https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Demo/WIN32-MSVC/FreeRTOSConfig.h#l52
  5. Probably other stuff.