PVRTexTool libPVRTexLib.dylib XCode 10.1 clang linker error

On MacOS Mojave 10.14.2 with XCode 10.1 I can’t compile our custom tool linked with libPVRTexLib.dylib. Previously it works on our old MacOS El Capitan with XCode 8 (which I no longer have access to it).

It was an Undefined symbols for architecture x86_64 linker error, some of it to basic lib like std::array. The XCode project was compiled with --std=c++17

Could it be that the dylib was compiled against libstdc++? Afaik XCode 10 no longer ships with it.

Undefined symbols for architecture x86_64:
  "pvrtexture::CPVRTexture::CPVRTexture(pvrtexture::CPVRTextureHeader const&, void const*)", referenced from:
...
      ___cxx_global_var_init in testpvr.o
      ___cxx_global_var_init.1 in testpvr.o
      ___cxx_global_var_init.2 in testpvr.o

Best regards,

Hi,

Thanks for reporting this problem. We are now looking into replicating it and, hopefully, fixing it.

Thanks.

Carlos.