AnsweredAssumed Answered

Multiple Definition Error in Static Library Project

Question asked by Ramazan Kurban on Dec 5, 2019
Latest reply on Dec 6, 2019 by LPCX presso support

Hi. I have same function as "void myFunc();" in seperate 2 library as "libA.h" and "libB.h" in "myStaticLibrary" project. I add this "myStaticLibrary.a" to my main project linker library. I define only libA.h in my main code and ı use myFunc() but Compiler expect Multiple Defination error for myFunc(). How can ı solve this problem.