Problems building on UWP

Hi i'm having problems building Photon Voice for UWP.


Using Unity 2019.2.21

The error is :

----
Gravità Codice Descrizione Progetto File Riga Stato eliminazione
Errore LNK2019 riferimento al simbolo esterno opus_encoder_ctl non risolto nella funzione opus_encoder_ctl_get_ext Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\Il2CppOutputProject\E99EEC9043C3ECC38A5B808ECB8F7C3B.obj 1
Errore LNK2019 riferimento al simbolo esterno opus_decoder_ctl non risolto nella funzione opus_decoder_ctl_get_ext Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\Il2CppOutputProject\E99EEC9043C3ECC38A5B808ECB8F7C3B.obj 1
Errore LNK1120 2 esterni non risolti Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\build\obj\il2cppOutputProject\ARM\Release\linkresult_18AB3E55B7804CB01D7A58E901F4B882\GameAssembly.dll 1
Errore LNK2019 riferimento al simbolo esterno opus_encoder_ctl non risolto nella funzione opus_encoder_ctl_get_ext Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\Il2CppOutputProject\E99EEC9043C3ECC38A5B808ECB8F7C3B.obj 1
Errore LNK2019 riferimento al simbolo esterno opus_decoder_ctl non risolto nella funzione opus_decoder_ctl_get_ext Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\Il2CppOutputProject\E99EEC9043C3ECC38A5B808ECB8F7C3B.obj 1
Errore LNK1120 2 esterni non risolti Il2CppOutputProject C:\Users\Victor\Desktop\videoholo\App\build\obj\il2cppOutputProject\ARM\Release\linkresult_18AB3E55B7804CB01D7A58E901F4B882\GameAssembly.dll 1


---

Seems related to opus_encoder_ctl_get_ext and decoder_ctl_get_ext:

I installed it on a pre-existing scene where PUN2 Free compiled and worked great. I removed all the Photon folder and tried to reimport only the photon voice but with the same errors.

Thanks.

Photon Voice is the latest one (09/07/2020, TODAY), just upgraded

Victor

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @VictorM,

    Thank you for choosing Photon and for your report!

    We will look into it.
  • hi @JohnTube , any news on this ? Thanks

    Victor
  • It seems that various iOS files are (by accident) setup to export to any platform. This is what makes the UWP build fail.

    In the Editor, select the files in this path (and sub-path):
    Assets\Photon\PhotonVoice\PhotonVoiceLibs\iOS
    You can multi-select the files (per folder) and make sure they export only to iOS.
  • ok, just compiled now. Everything is ok. Thanks for the support !!!

    Victor