[WINDOWS] Build XBMC release source on Windows
#1
Hi,

I'm trying to build the release source for XBMC 9.11 using the instructions from the Twiki. However, from step 1 of the section "Setting up the build Environment" I find that my source tree has no file named DownloadBuildDeps.bat in "path\to\xbmc\project\BuildDependencies".

Is step 1 not required for the release source tree or something?

Thank you.

Jeff
Reply
#2
those steps are for current svn, not 9.11. 9.11 had no such bat. skip that step.
Reply
#3
Thank you spiff.

I also had problems with other directions on that page. The following directories do not exist in the 9.11 release tree.
path\to\xbmc\tools\win32buildtools
path\to\xbmc\project\BuildDependencies\include
path\to\xbmc\project\BuildDependencies\lib

I got the following build errors. Are there any instructions on how to build the release source?

1>------ Build started: Project: freetype, Configuration: Debug Multithreaded Win32 ------
2>------ Build started: Project: glib, Configuration: Debug Win32 ------
1>Compiling...
2>Performing Pre-Build Event...
1>ftdebug.c
1>..\ftdebug.c(55) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>Compiling...
1>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\lib\freetype\objs\debug_mt\BuildLog.htm"
1>freetype - 1 error(s), 0 warning(s)
2>gatomic.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gatomic.c(788) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gbacktrace.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gbacktrace.c(66) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gconvert.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\win_iconv.c(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gdate.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gdate.c(46) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gdir.c
3>------ Build started: Project: guilib, Configuration: Debug (DirectX) Win32 ------
3>Compiling...
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\build\win32\dirent\dirent.c(26) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gfileutils.c
3>pch.cpp
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gfileutils.c(40) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>giowin32.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\giowin32.c(75) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
2>gmain.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gmain.c(67) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gmappedfile.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gmappedfile.c(38) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gmessages.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gmessages.c(55) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gpoll.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gpoll.c(77) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gslice.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gslice.c(41) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gspawn-win32.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gspawn-win32.c(56) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gstdio.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gstdio.c(36) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gstrfuncs.c
3>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\win32\pch.h(8) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
3>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\project\VS2008Express\guilib\Debug (DirectX)\BuildLog.htm"
3>guilib - 1 error(s), 0 warning(s)
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gstrfuncs.c(54) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gthread.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gthread.c(52) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gtimer.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gtimer.c(47) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gutf8.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gutf8.c(35) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gutils.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gutils.c(78) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>gwin32.c
2>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\glib-2.20.4\glib\gwin32.c(43) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
2>Generating Code...
2>Build log was saved at "file://C:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\project\VS2008Express\glib\Debug\BuildLog.htm"
2>glib - 20 error(s), 0 warning(s)
4>------ Build started: Project: libPlatinum, Configuration: Debug Win32 ------
4>Compiling...
4>NptBsdSockets.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Bsd\NptBsdSockets.cpp(26) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
4>NptWin32Debug.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32Debug.cpp(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>NptWin32DynamicLibraries.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32DynamicLibraries.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>NptWin32File.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32File.cpp(20) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>NptWin32MessageQueue.cpp
5>------ Build started: Project: UnrarXLib, Configuration: Debug (DirectX) Win32 ------
4>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libupnp\neptune\source\system\win32\NptWin32MessageQueue.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
5>Compiling...
4>NptWin32Network.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32Network.cpp(14) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
4>NptWin32Queue.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32Queue.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>NptWin32System.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32System.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>NptWin32Threads.cpp
5>rar.cpp
4>..\..\xbmc\lib\libUPnP\Neptune\Source\System\Win32\NptWin32Threads.cpp(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>Generating Code...
5>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\unrarxlib\os.hpp(5) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\project\VS2008Express\libPlatinum\Debug\BuildLog.htm"
4>libPlatinum - 9 error(s), 0 warning(s)
5>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\project\VS2008Express\UnrarXLib\Debug (DirectX)\BuildLog.htm"
5>UnrarXLib - 1 error(s), 0 warning(s)
6>------ Build started: Project: libhts, Configuration: Debug Win32 ------
6>Compiling...
6>net_winsock.c
6>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libhts\net_winsock.c(25) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
6>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\xbmc\lib\libhts\Win32\Debug\BuildLog.htm"
6>libhts - 1 error(s), 0 warning(s)
7>------ Build started: Project: libmms, Configuration: Debug Win32 ------
7>Compiling...
7>mmsh.c
7>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\libmms_win32\src\mmsh.c(41) : fatal error C1083: Cannot open include file: 'Winsock2.h': No such file or directory
7>mms.c
7>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\lib\libmms\libmms_win32\src\mms.c(39) : fatal error C1083: Cannot open include file: 'Winsock2.h': No such file or directory
7>Generating Code...
7>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\xbmc\lib\libmms\libmms_win32\msvc++\Debug\BuildLog.htm"
7>libmms - 2 error(s), 0 warning(s)
8>------ Build started: Project: XBMC, Configuration: Debug (DirectX) Win32 ------
8>Compiling...
8>pch.cpp
8>c:\documents and settings\jhornsbe\desktop\xbmc-9.11\xbmc\win32\pch.h(8) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
8>Build log was saved at "file://c:\Documents and Settings\jhornsbe\Desktop\xbmc-9.11\project\VS2008Express\XBMC\Debug (DirectX)\BuildLog.htm"
8>XBMC - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 8 failed, 0 up-to-date, 0 skipped ==========


Thank you.

Jeff
Reply
#4
See the history of the wiki page - go back far enough to 9.11.

Looks like your build system is screwed up there in that it can't find the win32 SDK.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
[WINDOWS] Build XBMC release source on Windows0