Win Gotham Build Error
#1
Hi all!

I'm new to XBMC development and have just set my Win 8.1 OS with GitHub repo pulling from the Gotham branch and with VC 2010 Express as my IDE. In order to build am following the online resource:

1. Run VC++ 2010 Express
2. Load the XBMC\project\VS2010Express\XBMC for Windows.sln solution file.
3. Choose the project to build: Debug or Release (obviously Debug if you wish to actually do development work).
Choose DirectX (OpenGL is deprecated).
4. Build the project

As a result of the build am getting several errors for the entire solution. If I try to build XMBC only then I get the following errors, such as unable to find file D3DX9.h.

1>------ Build started: Project: XBMC, Configuration: Debug (DirectX) Win32 ------
1> Generating SWIG bindings
1> The system cannot find the path specified.
1> [C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python

\PythonSwig.cpp.template, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.cpp, C:\Users\user\Documents\GitHub\xbmc\xbmc

\interfaces\python\generated\doxygenxml]
1> Caught: java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml.". Expression:

(moduleSpec.exists() && moduleSpec.isFile())
1> at Generator.run(Generator.groovy:55)
1> Could Not Find C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml
1> Generating SWIG bindings
1> The system cannot find the path specified.
1> [C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python

\PythonSwig.cpp.template, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.cpp, C:\Users\user\Documents\GitHub\xbmc\xbmc

\interfaces\python\generated\doxygenxml]
1> Caught: java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml.". Expression:

(moduleSpec.exists() && moduleSpec.isFile())
1> at Generator.run(Generator.groovy:55)
1> Could Not Find C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml
1> Generating SWIG bindings
1> The system cannot find the path specified.
1> [C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python

\PythonSwig.cpp.template, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.cpp, C:\Users\user\Documents\GitHub\xbmc\xbmc

\interfaces\python\generated\doxygenxml]
1> Caught: java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml.". Expression:

(moduleSpec.exists() && moduleSpec.isFile())
1> at Generator.run(Generator.groovy:55)
1> Could Not Find C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml
1> Generating SWIG bindings
1> The system cannot find the path specified.
1> [C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python

\PythonSwig.cpp.template, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.cpp, C:\Users\user\Documents\GitHub\xbmc\xbmc

\interfaces\python\generated\doxygenxml]
1> Caught: java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> at Generator.run(Generator.groovy:55)
1> Could Not Find C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml
1> Generating SWIG bindings
1> The system cannot find the path specified.
1> [C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python

\PythonSwig.cpp.template, C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.cpp, C:\Users\user\Documents\GitHub\xbmc\xbmc

\interfaces\python\generated\doxygenxml]
1> Caught: java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml.".

Expression: (moduleSpec.exists() && moduleSpec.isFile())
1> java.lang.AssertionError: Cannot locate the spec file "C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml.". Expression:

(moduleSpec.exists() && moduleSpec.isFile())
1> at Generator.run(Generator.groovy:55)
1> Could Not Find C:\Users\user\Documents\GitHub\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml
1> pch.cpp
1>c:\users\user\documents\github\xbmc\xbmc\win32\pch.h(40): fatal error C1083: Cannot open include file: 'D3DX9.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Sorry about including all of this, but I hope someone may have some ideas about how to fix this. Thanks in advance!
Reply
#2
Do you have installed the DirectX sdk? Additional hints: http://wiki.xbmc.org/index.php?title=HOW...or_Windows
Reply
#3
Thanks for the hint! What finally worked for me is to uninstall VC++ 2010 Express and then install DirectX SDK.
Reply

Logout Mark Read Team Forum Stats Members Help
Gotham Build Error0