BelledonneCommunications / linphone-windows10

Linphone.org mirror for linphone-windows10 (git://git.linphone.org/linphone-windows10.git)
GNU General Public License v2.0
15 stars 27 forks source link

Error LNK2019: unresolved external symbol, compiling SDK_x86.vcxproj #15

Open RCLuciano opened 3 years ago

RCLuciano commented 3 years ago

I could fix the py files and other stuff, but compiling the linphone-windows10 in windows 10 x64 with Visual Studio 2019 the compilation of the SDK_x86.vcxproj failed because 17 unresolved external symbol. It seems the compilation for SDK_x64.vcxproj and SDK_ARM.vcxproj was OK.

¿Can you help to understand the reason of the issue?

Please see below the log wth the details.

2> Creating library C:/linphone-windows10/WORK/win10-x86/Build/ms2/src/Release/mediastreamer_voip.lib and object C:/linphone-windows10/WORK/win10-x86/Build/ms2/src/Release/mediastreamer_voip.exp 2>vp8.obj : error LNK2019: unresolved external symbol vpx_img_wrap referenced in function enc_process_frame_task [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_iface_name referenced in function dec_init [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_err_to_string referenced in function dec_process [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_error_detail referenced in function dec_process [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_destroy referenced in function dec_uninit [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_get_caps referenced in function dec_preprocess [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codeccontrol referenced in function dec_process [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_enc_init_ver referenced in function enc_preprocess [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_enc_config_default referenced in function enc_preprocess [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_enc_config_set referenced in function enc_set_configuration [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_encode referenced in function enc_process_frame_task [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_get_cx_data referenced in function enc_process_frame_task [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_vp8_cx referenced in function enc_init [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_dec_init_ver referenced in function dec_initialize_impl [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_decode referenced in function dec_process [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_get_frame referenced in function dec_process [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>vp8.obj : error LNK2019: unresolved external symbol vpx_codec_vp8_dx referenced in function dec_init [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\Release\mediastreamer_voip.dll : fatal error LNK1120: 17 unresolved externals [C:\linphone-windows10\WORK\win10-x86\Build\ms2\src\mediastreamer_voip.vcxproj] [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(238,5): error MSB8066: Custom build for 'C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-mkdir.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-download.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-update.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-patch.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-configure.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-force_build.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-build.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\ff024872d4f9073c2569f616e8b19189\EP_ms2-install.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\dbf33cf2b95f271e295d3b4c2b02f31a\EP_ms2-complete.rule;C:\linphone-windows10\WORK\win10-x86\cmake\CMakeFiles\b666e28b20249999d30f651a0011e3a3\EP_ms2.rule' exited with code 1. [C:\linphone-windows10\WORK\win10-x86\cmake\EP_ms2.vcxproj] 1> Building Custom Rule C:/linphone-windows10/submodules/cmake-builder/CMakeLists.txt 1> Creating directories for 'EP_mswasapi' 1> No download step for 'EP_mswasapi' 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(238,5): error MSB8066: Custom build for 'C:/linphone-windows10/WORK/win10-x86/SDK_x86.rule' exited with code 1. 1> No update step for 'EP_mswasapi' 2>Done building project "SDK_x86.vcxproj" -- FAILED.

dv8inpp commented 3 years ago

Hi RCLuciano , could you share your corrected python files?

RCLuciano commented 3 years ago

Sure!

Python version 3.9.-

python file (remove .txt): prepare.py.txt

The steps done: git clone https://gitlab.linphone.org/BC/public/linphone-windows10.git git submodule update --init --recursive python prepare.py -G "Visual Studio 16 2019" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=10.0

cmd used: x86_x64 Cross Tools Command Prompt for VS 2019 with administrative privileges

dv8inpp commented 3 years ago

Thanks for that . I did a fresh install of Windows 10.

Installed Python 3.9.0 Installed cmake-3.19.1-win64-x64 installed doxygen-1.8.20-setup installed Windows 10 SDK 10.0.19041.685 Installed Visual Studio 2019, Selected Visual c++ tools, .net desktop build tools and UWP build tools

Using an administrator level x64_x86 Cross Tools Command Prompt for VS 2019 I ran

git clone https://gitlab.linphone.org/BC/public/linphone-windows10.git git submodule update --init --recursive python prepare.py -G "Visual Studio 16 2019" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=10.0

Did I miss a step?

Then open SDK.sln in VS 2019 and compile only the SDK_x64 module and get:

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\linphone10\WORK\win10-x64\Build\linphone\CMakeFiles\3550f802e26918ddbb1899f3c5e2ecac\LinphoneWrapper.cs.rule;C:\linphone10\WORK\win10-x64\Build\linphone\CMakeFiles\1343c6f9998a65e366d78d6a4e24a530\linphonecs.rule' exited with code 1. [C:\linphone10\WORK\win10-x64\Build\linphone\wrappers\csharp\linphonecs.vcxproj] [C:\linphone10\WORK\win10-x64\cmake\EP_linphone.vcxproj] SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-configure.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-force_build.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-build.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-install.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\101dd091e1b1b417fdce0f6070c8c239\EP_linphone-complete.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\e86eb732bf554a1a67a6a41e634e5b52\EP_linphone.rule' exited with code 1. [C:\linphone10\WORK\win10-x64\cmake\EP_linphone.vcxproj] SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:/linphone10/WORK/win10-x64/SDK_x64.rule' exited with code 1. SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

RCLuciano commented 3 years ago

Before the SDK compilation, there are some aditional configuration, please follow the steps in this url: https://github.com/BelledonneCommunications/linphone-sdk

Use the folder created by the git command, it means c:\linphone-windows10

Try again, except the windows installation, remember override the prepare.py sent.

El mar., 22 dic. 2020 1:53 p. m., dv8inpp notifications@github.com escribió:

Thanks for that . I did a fresh install of Windows 10.

Installed Python 3.9.0 Installed cmake-3.19.1-win64-x64 installed doxygen-1.8.20-setup installed Windows 10 SDK 10.0.19041.685 Installed Visual Studio 2019, Selected Visual c++ tools, .net desktop build tools and UWP build tools

Using an administrator level cmd I ran

git clone https://gitlab.linphone.org/BC/public/linphone-windows10.git git submodule update --init --recursive python prepare.py -G "Visual Studio 16 2019" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=10.0

Did I miss a step?

Then open SDK.sln in VS 2019 and compile only the SDK_x64 module and get:

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\linphone10\WORK\win10-x64\Build\linphone\CMakeFiles\3550f802e26918ddbb1899f3c5e2ecac\LinphoneWrapper.cs.rule;C:\linphone10\WORK\win10-x64\Build\linphone\CMakeFiles\1343c6f9998a65e366d78d6a4e24a530\linphonecs.rule' exited with code 1. [C:\linphone10\WORK\win10-x64\Build\linphone\wrappers\csharp\linphonecs.vcxproj] [C:\linphone10\WORK\win10-x64\cmake\EP_linphone.vcxproj] SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-configure.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-force_build.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-build.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\bc7a998401e95783293e84ccdee9719c\EP_linphone-install.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\101dd091e1b1b417fdce0f6070c8c239\EP_linphone-complete.rule;C:\linphone10\WORK\win10-x64\cmake\CMakeFiles\e86eb732bf554a1a67a6a41e634e5b52\EP_linphone.rule' exited with code 1. [C:\linphone10\WORK\win10-x64\cmake\EP_linphone.vcxproj] SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:/linphone10/WORK/win10-x64/SDK_x64.rule' exited with code 1. SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/linphone-windows10/issues/15#issuecomment-749688164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR6ZG27U772FYSQMIK6C32DSWDMIHANCNFSM4UJSR63A .

dv8inpp commented 3 years ago

@RCLuciano . I'm no further along but am wondering if my libpjproject-i386-Win32 libraries are the correct size. These libraries are about 15.5MB in size

RCLuciano commented 3 years ago

I could compile full sdk (x64, Win32 and ARM), fixed the last mix configuration found in the prepare.py file in order to compile the Win32 project.

I think the issue is in the missing configuration.

Could you review the dependencies apps?

cmake >= 3.11 python = 2.7 (python 3.7 if C# wrapper generation is disabled) pip yasm nasm doxygen Pystache (use pip install pystache) six (use pip install six)

Remember to configure in PATH some of them and you can access through CDM.

0gnj3n commented 3 years ago

I could compile full sdk (x64, Win32 and ARM), fixed the last mix configuration found in the prepare.py file in order to compile the Win32 project.

I think the issue is in the missing configuration.

Could you review the dependencies apps?

cmake >= 3.11 python = 2.7 (python 3.7 if C# wrapper generation is disabled) pip yasm nasm doxygen Pystache (use pip install pystache) six (use pip install six)

Remember to configure in PATH some of them and you can access through CDM.

Hi @RCLuciano, I have followed your instructions and used your python script, and it helped, I have everything installed, paths are ok, but at the end I have the same error as @dv8inpp, I used this commands

git clone https://gitlab.linphone.org/BC/public/linphone-windows10.git git submodule update --init --recursive python prepare.py -G "Visual Studio 16 2019" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=10.0

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\28c7bed646fa9e601cab5fefcf2b9734\EP_linphone-configure.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\28c7bed646fa9e601cab5fefcf2b9734\EP_linphone-force_build.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\28c7bed646fa9e601cab5fefcf2b9734\EP_linphone-build.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\28c7bed646fa9e601cab5fefcf2b9734\EP_linphone-install.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\df3d271f2844d03ea08fffdc9dec069e\EP_linphone-complete.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\CMakeFiles\49a9b12d922a309ac91fbb740bb4205f\EP_linphone.rule' exited with code 1. [C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\EP_linphone.vcxproj]
SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\Build\linphone\CMakeFiles\c583eafca11eb26a8295df3e7975b8fe\LinphoneWrapper.cs.rule; C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\Build\linphone\CMakeFiles\f8d37175333861a7f1a031034dfa5832\linphonecs.rule' exited with code 1. [C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\Build\linphone\wrappers\csharp\linphonecs.vcxproj] [C:\Users\ogmio\source\WorkInProgress\Linphone\linphoneWin10\folder-git\WORK\win10-x64\cmake\EP_linphone.vcxproj]
SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

Severity Code Description Project File Line Suppression State Error MSB8066 Custom build for 'C:/Users/ogmio/source/WorkInProgress/Linphone/linphoneWin10/folder-git/WORK/win10-x64/SDK_x64.rule' exited with code 1. SDK_x64 C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 238

I get these errors, I see that @dv8inpp had the same set of errors and even you did have on x86 configuration "Error MSB8066".

Do you have any idea how to solve that? It seems it some kind of cmake problem.

Thanks in advance.

RCLuciano commented 3 years ago

Try to put the linphone-desktop in root, it means c:\

It seems some rules are configured to works using the root.

The point here is you will need to do all the steps again in order to prepare the compilation because Most of the script created is linked to the Old path.

RCLuciano commented 3 years ago

Sure, I will build again the proyect when the maintenance is completed in the server, and gets the configuration and python files.

El dom., 20 dic. 2020 5:19 a. m., dv8inpp notifications@github.com escribió:

Hi RCLuciano , could you share your corrected python files?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/linphone-windows10/issues/15#issuecomment-748582982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR6ZG243IKM7IMBB3YAEIEDSVW6TLANCNFSM4UJSR63A .

0gnj3n commented 3 years ago

Try to put the linphone-desktop in root, it means c:\

It seems some rules are configured to works using the root.

The point here is you will need to do all the steps again in order to prepare the compilation because Most of the script created is linked to the Old path.

I've cloned repository in C:\linphone-windows10 (git command) and the result is the same. What is interesting although prepare.py script is executed flawlessy all .rule files in C:\linphone-windows10\WORK\win10-x64\cmake\CMakeFiles\42e803bd1b65be9d60e4143bab9226c0\ is empty.

Only content is # generated from CMake

This is x64 project on x86 I have much more errors.

dv8inpp commented 3 years ago

I had to install Graphwiz and that cleared up some errors https://gitlab.com/graphviz/graphviz/-/package_files/6164164/download

@0gnj3n If you look in the output window you can see more details about the errors, mine was the cl.exe was not being found.

Now the SDK compiles but the Linphone.sln comes up with a bunch of " The type or namespace 'module name' could not be found ....." ,

dv8inpp commented 3 years ago

SDK is compiling now, When I try to build the Linphone.sln the SDK is not being found

RCLuciano commented 3 years ago

Step to compile with Visual Studio 2019, please see the file attached.

Visual Studio 2019 16.9.0 Python 3.9

Be sure to have doxygen, git, nasm and python in path for Environment variable

** Execute the cmd commands in root for linphone-windows10

-- Be sure to clean the installation python prepare.py -c -- Be sure to keep the submodule updates git submodule update --init --recursive -- Prepare the SDK compilation python prepare.py -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_VERSION=10.0 -- Fix the Platform Max Version for the vcxproj files FixPlatformMaxVersion.bat -- Fix the Platform Min Version for the vcxproj files FixPlatformMinVersion.bat -- Fix the Nuget Linphone Projects FixNuGetLinphone.bat -- Fix the CsWrapper Pre-Build events with the following code

  IF EXIST "$(MSBuildProjectDirectory)\..\OUTPUT\win10-x64\share\linphonecs\LinphoneWrapper.cs" (
       call "$(MSBuildProjectDirectory)\..\FixCsWrapper.bat" "$(MSBuildProjectDirectory)\..\OUTPUT\win10-x64\share\linphonecs\LinphoneWrapper.cs"
       copy $(MSBuildProjectDirectory)\..\OUTPUT\win10-x64\share\linphonecs\LinphoneWrapper.cs $(MSBuildProjectDirectory)\ /Y
     )
  IF EXIST "$(MSBuildProjectDirectory)\..\OUTPUT\win10-ARM\share\linphonecs\LinphoneWrapper.cs" (
      call "$(MSBuildProjectDirectory)\..\FixCsWrapper.bat" "$(MSBuildProjectDirectory)\..\OUTPUT\win10-ARM\share\linphonecs\LinphoneWrapper.cs"
      copy $(MSBuildProjectDirectory)\..\OUTPUT\win10-ARM\share\linphonecs\LinphoneWrapper.cs $(MSBuildProjectDirectory)\ /Y
    )
  IF EXIST "$(MSBuildProjectDirectory)\..\OUTPUT\win10-x86\share\linphonecs\LinphoneWrapper.cs" (
      call "$(MSBuildProjectDirectory)\..\FixCsWrapper.bat" "$(MSBuildProjectDirectory)\..\OUTPUT\win10-x86\share\linphonecs\LinphoneWrapper.cs"
      copy $(MSBuildProjectDirectory)\..\OUTPUT\win10-x86\share\linphonecs\LinphoneWrapper.cs $(MSBuildProjectDirectory)\ /Y
    )

-- Build the SDK in Visual Studio 2019 SDK.sln -- Create the certificate through Packaging Right click on Package.appxmanifest and select properties or Right click on Linphone Project and select Appliction and press the Package Manifest... button -- Build the Linphone in Visual Studio 2019 Linphone.sln

Notes: in case Linphone.sln does not build for missing references, add the reference for CsWrapper.dll in the project, for some reason Visual Studio 2019 sometimes do not handle correctly the LinphoneSDK

linphone-windows10.zip