Win10编译linphone-windows项目文件

linphone-windows项目需要先python3生成sln项目文件:


问题1:斜杠“\”改成反斜杠“/”

"""Project("{{E8FB6309-B31E-4380-992C-BB1609B3EA00}}") = "Nuget{target}", "WORK/Nuget{target}.vcxproj", "{project_guid}"
\tProjectSection(ProjectDependencies) = postProject
{project_dependencies}\tEndProjectSection
EndProject
""".format(target=target, project_guid=guid, project_dependencies=project_dependencies)


问题2:161,162行,urllib.urlretrieve改为urllib.request.urlretrieve,同时import urllib.request

       if not os.path.isfile('WORK/nuget.exe'):
            urllib.request.urlretrieve("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", "WORK/nuget.exe", reporthook = self.nuget_download_reporthook)



你可能感兴趣的:(开发)