Solved Issue [Windows]Please help me fix build errors

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SlrG Offline
Member+
Posts: 40
Joined: Nov 2010
Reputation: 0
Question  [Windows]Please help me fix build errors Post: #1
I'm trying to compile XBMC for windows, but it fails giving build errors like:

AddonModuleXbmcgui.cpp
3>..\..\xbmc\interfaces\python\generated\AddonModuleXbmcaddon.cpp(84): error C2039: 'getInstance': is no
element of 'XBMCAddon::Python::LanguageHook'

Full error log (german):
http://pastebin.com/F9icExPm

The source is freshly fetched from upstream xbmc repo and merged into master of my local one. Before doing code changes I always branch, so the code should be clean. Seeing that the buildbot is able to compile master for windows (http://buildbot.xbmc.org/one_line_per_build), the error seems to be on my side. Sadly I have no idea how to fix this issue. Anybody out there who can help me?

regards,

SlrG
(This post was last modified: 2012-12-26 21:02 by SlrG.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,505
Joined: Feb 2008
Reputation: 58
Post: #2
branching will only effect those files in git, object files are not in git. make clean or whatever you do under win.

or the big nuke.

# removes any files that are not in the repo
git clean -xfd


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
WiSo Offline
Team-XBMC Developer
Posts: 2,507
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #3
Its a problem with the swig generated files where vs didn't get it to regenerate it. Just delete the .cpp's under generated or do what davilla told you.

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.
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,831
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #4
Or in VS go to the swig interface files (*.i) in the XBMC project under interfaces/swig, right-click them and click on "Compile".

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: badge.gif]
find quote
SlrG Offline
Member+
Posts: 40
Joined: Nov 2010
Reputation: 0
Post: #5
@all:

Thank you very much. Smile I did clean before building like Davilla suggested and that fixed the build.

regards,

SlrG
find quote