I built a server using open62541 architecture by referring to the documentation provided at this
page.
The following input to the command prompt gcc -std=c99 open62541.c myServer.c -lws2_32 -o myServer.exe
generates the executable. The architecture is compatible only with std c99 library and reference to the Winsock library -lws2_32
must be added in the command , otherwise, it won't generate the executable and linker errors are produced.
I am successful at generating the executables using command prompt ,now I want to do the same( generate the server program executable) using the applications "Visual Studio" / "Codeblocks" as I want to debug the program.
How to provide inputs to the compiler of Visual Studio/Codeblocks to include std c99 and Winsock libraries explicitly ? Is anyone successful in migrating the open62541 to debug environements ?