Solved Kodi "Libavcodec" Missing Compile Error - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Solved Kodi "Libavcodec" Missing Compile Error (/showthread.php?tid=233295) |
Kodi "Libavcodec" Missing Compile Error - DaveBlake - 2015-07-26 I just downloaded latest git and and followed the wiki instuctions to compile Kodi for Windows. I ran scripts "DownloadBuildDeps.bat", "DownloadMingwBuildEnv.bat" and then "BuildSetup.bat". This produced 4 errors all of the form Code: AddonCallbacksCodec.cpp This is similar to this thread, but the solution there (running "make-mingwlibs.bat") has not helped. Now "libavcodec" is part of ffmpeg, but how do I include this? I noted that when running "make-mingwlibs.bat" it says this of ffmpeg Code: ##### building ffmpeg dlls ##### I guess something is missing from a script somewhere but not sure where to go from here. Unsurprizingly I get the same errors when I try to build to debug using VS2013express. Initially I also got a linking error that Effects11.lib could not be found but I was able to solve that by copying a file into the debug folder. RE: Kodi "Libavcodec" Missing Compile Error - Martijn - 2015-07-26 try running the download*.bat files again one by one. Sometimes it just misses something. RE: Kodi "Libavcodec" Missing Compile Error - DaveBlake - 2015-07-26 Many thanks for the quick response Martijn, a re-run of the download*.bat files and the "make-mingwlibs.bat" solved the problem. Useful to know that the download bat files can miss things. RE: Kodi "Libavcodec" Missing Compile Error - Razze - 2015-07-27 Yep, some times it's also useful to remove everything in the Win32BuildSetup folder that is not checked in and retry the download via the bat file. |