I want to use a C function of one project into other. Both these projects are parts of the same solution, but they are independent of each other. So, how can we do this ?
I tried using 'extern C' and linking the C header file. But, for both the options I am getting the same linking error. The code gets compiled giving linking error as "undefined symbol 'function_name'".
Any help would be greatly appreciated.
0 · ·