2015-07-26, 16:37
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
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
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.
Code:
AddonCallbacksCodec.cpp
9>..\..\xbmc\addons\AddonCallbacksCodec.cpp(26): fatal error C1083: Cannot open include file:
'libavcodec/avcodec.h': No such file or directory [C:\GitProjects\xbmc\project\VS2010Express\XBMC.vcxproj]
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 #####
backgrounding: sh ./buildffmpeg.sh clean /xbmc/project/Win32BuildSetup/bgprocess & (workdir: /xbmc/project/Win32BuildSetup)
waiting on bgprocess...
.removing ffmpeg
rm: cannot lstat `ffmpeg/libavfilter': No such file or directory
configuring ffmpeg
./buildffmpeg.sh: line 90: ./configure: No such file or directory
done
##### building of ffmpeg dlls done #####
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.