I am using Freertosv202112.00. I tried to build the source(.c file) files along with headers and created the library(.lib). But while building my freertos application using the library, I am getting the compilation error.
We found our configured main() entry function of our sample application. Hence app_main.c, app_main.h and mpu_demo.h files are not needed. Right now I am facing the compilation error which is more likely to configure the FreeRTOSConfig.h. The compilation error as
1>freertos_lib.lib(tasks.obj) : error LNK2019: unresolved external symbol _vApplicationStackOverflowHook referenced in function _vTaskSwitchContext
1>freertos_lib.lib(tasks.obj) : error LNK2019: unresolved external symbol _vApplicationGetIdleTaskMemory referenced in function _vTaskStartScheduler
1>freertos_lib.lib(heap.obj) : error LNK2019: unresolved external symbol _vApplicationMallocFailedHook referenced in function _pvPortMalloc
1>freertos_lib.lib(timers.obj) : error LNK2019: unresolved external symbol _vApplicationGetTimerTaskMemory referenced in function _xTimerCreateTimerTask
1>D:\validation_freertos\demo_cross_os\specific\windows\x86\vsnet2015\Debug\demo_cross_os.exe : fatal error LNK1120: 4 unresolved externals
1>Done building project “windows_x86_vsnet2015_demo_cross_os.vcxproj” – FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Elapsed 00:24.338 ==========