Win Compile errors
#1
When compile the xbmc project to vs2010 the following problem is appeared:

11>------ Rebuild All started: Project: XBMC, Configuration: Debug (DirectX) Win32 ------
11> Generating SWIG bindings
11> The system cannot find the path specified.
11> [D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml, D:\xbmc\xbmc\xbmc\interfaces\python\PythonSwig.cpp.template, D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.cpp, D:\xbmc\xbmc\xbmc\interfaces\python\generated\doxygenxml]
11> Caught: java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> at Generator.run(Generator.groovy:56)
11> Could Not Find D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmc.xml
11> Generating SWIG bindings
11> The system cannot find the path specified.
11> [D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml, D:\xbmc\xbmc\xbmc\interfaces\python\PythonSwig.cpp.template, D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.cpp, D:\xbmc\xbmc\xbmc\interfaces\python\generated\doxygenxml]
11> Caught: java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> at Generator.run(Generator.groovy:56)
11> Could Not Find D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.xml
11> Generating SWIG bindings
11> The system cannot find the path specified.
11> [D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml, D:\xbmc\xbmc\xbmc\interfaces\python\PythonSwig.cpp.template, D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.cpp, D:\xbmc\xbmc\xbmc\interfaces\python\generated\doxygenxml]
11> Caught: java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> at Generator.run(Generator.groovy:56)
11> Could Not Find D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcgui.xml
11> Generating SWIG bindings
11> The system cannot find the path specified.
11> [D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml, D:\xbmc\xbmc\xbmc\interfaces\python\PythonSwig.cpp.template, D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.cpp, D:\xbmc\xbmc\xbmc\interfaces\python\generated\doxygenxml]
11> Caught: java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> at Generator.run(Generator.groovy:56)
11> Could Not Find D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcplugin.xml
11> Generating SWIG bindings
11> The system cannot find the path specified.
11> [D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml, D:\xbmc\xbmc\xbmc\interfaces\python\PythonSwig.cpp.template, D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.cpp, D:\xbmc\xbmc\xbmc\interfaces\python\generated\doxygenxml]
11> Caught: java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> java.lang.AssertionError: Cannot locate the spec file "D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml.". Expression: (moduleSpec.exists() && moduleSpec.isFile())
11> at Generator.run(Generator.groovy:56)
11> Could Not Find D:\xbmc\xbmc\xbmc\interfaces\python\generated\AddonModuleXbmcvfs.xml
11> pch.cpp
11> SlingboxLib.cpp
11> AddonCallbacks.cpp
11> AddonCallbacksAddon.cpp
11> AddonCallbacksGUI.cpp
11> AddonCallbacksPVR.cpp

Probably Visual Studio can't run the program swig.exe, even though I pointed out the way to it in the environment variable Patch=D:\swigwin-2.0.9\.. Which folder should be placed swig.exe for successful compilation? May need to change the pointer to swig.exe in the project. How to do it?

Regards,
Mk


Reply
#2
First off, please post these log outputs on pastebin and link to it or at least put them within [ code ] (without the spaces obviously) BBTags.

Concerning your problem: You don't need your own swig installation. It comes with XBMC's dependency downloader when you run DownloadBuildDeps.bat. Please re-run it, remove your custom swig installation (at least from the PATH variable) and try again with a clean build.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Thank a lot for your help. The project is builded and application is works.
Reply
#4
I just received the error here, and running DownloadBuildDeps.bat fixed it
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply

Logout Mark Read Team Forum Stats Members Help
Compile errors0