Hi everyone,
I have been given function written in C that I need to call as part of my simulation. I have the source C (functions.c), the gcc compiled object file (functions.a) and the header file (functions.h). The file "functions.c" only contains one function called main which calls on multiple other files, but after building the object file, I can simply call "./functions.a" to run the execution from the command line.
I am now having trouble calling the function found in the "functions.a" file from within my omnet++ source code. I consulted this
Stack thread, however, since my eclipse project is an omnet++ project, the properties don't contain the "C/C++ Build -> Settings -> GCC C Linker" settings.
Any suggestion on how include the functions found in "functions.a" to my omnet++ project? Any alternate solution to call external C functions would also be appreciated.