Hi all, I am using native code written in C in Unity and I am getting this “EntryPointNotFoundException”…
I am on Mac OS Lion so I am using a bundle as my plugin. The structure of my plugin is like this: I have one single helloworld.c file and a bunch of static libraries (.a). I linked my libraries against my project and added all headers of my libraries. I could see all the functions defined in my helloworld.c file and defined in my libraries.
When I imported my plugin, I was able to call my helloworld function, but when it comes to the functions defined in my library, Unity gives me an EntryPointNotFoundException.
Could someone please help me? I googled and googled about it, but I haven’t found a proper way out. My library was built from C, so there won’t be a name mangling issue I suppose…