I am having trouble getting my static library to work with another NativeActivity project.
The static library is created form a clean “NativeActivity” project and uses Static Library (.a) as Configuration type in VC. Compiling works and it spits out a .a file (lets call it engine.a)
I then creaed a new NativeActivity project and added the engine.a to to VC, setting the file type to “Library”. However, building it results in a link error “undefined reference” for those functions which are in engine.a.
For some reason it seems the library is not really linked. And I wonder what I have to setup in VC to make this work.
I did try adding the engine.a under Linker\Additional Dependencies, but this did not help.
I really appreciate and help here.