2021-06-20, 20:33
Hello Team Kodi,
I had a problem during kodi building on windows.
I followed the guide specified in this file to build kodi, in this step , I used the command
These were the errors:
Similarly I had also tried to build with the
One more point all the commands were run on Developer Command Prompt for VS 2019, as per specified by my mentor.
This is the output on building: kodi.sln build
I had a problem during kodi building on windows.
I followed the guide specified in this file to build kodi, in this step , I used the command
as I was using Visual Studio 2019. Then I opened the kodi.sln file generated in kodi-build directory and the build it, but on building it gives two errors and then no kodi.exe file was generated.cpp:cmake -G "Visual Studio 16 2019" -A x64 ..\xbmc
These were the errors:
cpp:Severity Code Description Project File Line Suppression State
Error MSB8066 Custom build for 'C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcaddon.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcdrm.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcgui.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmc.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcplugin.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcvfs.i.cpp.rule;C:\Users\semwa\kodi-build\CMakeFiles\c875caa5d069103a60fba7a7c50bc4fc\AddonModuleXbmcwsgi.i.cpp.rule' exited with code 1. python_binding C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 241
In the first error, I checked the .rule files given in the error statements but they contains only a single line statementcpp:Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'build\swig\Debug\python_binding.lib' kodi C:\Users\semwa\kodi-build\LINK 1
. So I was unable to find the error.cpp:# generated from CMake
Similarly I had also tried to build with the
command , but it was also not generating kodi.exe file.cpp:cmake --build . --config "Debug"
One more point all the commands were run on Developer Command Prompt for VS 2019, as per specified by my mentor.
This is the output on building: kodi.sln build