1,安装Mysys2
2,安装git等
3,git 下载源码
4,源码下建立目录
cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_SYSTEM_NAME="Windows"
遇到问题CMake Error at cmake-builder/cmake/CheckBuildTools.cmake:78 (find_program):
Could not find 7Z_PROGRAM using the following names: 7z.exe
5,which: no 7z in (/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
我把7z 可执行程序copy到了c/Windows/System32
然后运行
CMake Error at cmake/LinphoneSdkUtils.cmake:249 (message):
'pystache' python module not found