'Build a simple open62541 server on EK-TM4C1294XL target

I am having trouble building a simple open62541 server on EK-TM4C1294XL.I followed the steps mentioned in the following page https://open62541.org/doc/current/building.html. But I am getting a lot of errors. Is anyone successful building the open62541 on TIVA-c boards.

Used CMake options:

cmake -DUA_ARCHITECTURE=freertosLWIP -DUA_ENABLE_AMALGAMATION=ON ../

Edit : I am building it on Windows Os. I am using Code Composer Studio IDE.I used an example project given by the TI. The example had FREERtos and Lwip stack already defined. I generated the files open62541.c and open625421.h and added them to the project.I am getting the following error:

 error:cannot open source file "alloca.h"   open62541.h C/C++ Problem


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source