The error is telling you exactly what is wrong:
/usr/bin/ld: skipping incompatible /home/xxx/Downloads/API/C/libTurboActivate.so when searching for -lTurboActivate
I've bolded the relevant parts so it's easier to read. So what does this mean? It means the linker can find libTurboActivate.so where you're telling it to look, but the *.so you're trying to link with doesn't match your CPU architecture".
It means you're building your app for x64 and using the x86 version of libTurboActivate.so. Or you're building your app for x86 and using the x64 version of libTurboActivate.so.
Does that make sense?