Posts: 170
Joined: Jan 2009
Reputation:
0
Just wondering if this is smth in my setup or not: can't compile pretty much anything from 19000 upwards (the latest one I tried is 19054):
Updated to revision 19054.
Compiling...
Application.cpp:3631: error: â?~JACTIVE_AXISâ?T was not declared in this scope
Application.cpp:3631: error: â?~JACTIVE_BUTTONâ?T was not declared in this scope
make[1]: *** [Application.o] Error 1
make: *** [xbmc] Error 2
Posts: 170
Joined: Jan 2009
Reputation:
0
Hmm, looks like --disable-joystick configuration flag is causing it..... Trying to compile without it (ie, with joystick enabled) - will post the results.
Posts: 170
Joined: Jan 2009
Reputation:
0
Yes, confirmed - if joystick is enabled (default), compilation proceeds just fine... a bug, albeit a small one.
Posts: 170
Joined: Jan 2009
Reputation:
0
Yeap - that one is new. Have it now as well:
Application.cpp: In member function â?~virtual HRESULT CApplication::Create(void
*)T:
Application.cpp:774: error: â?~m_joystickDeadzoneâ?T was not declared in this sc
opee[1]: *** [Application.o] Error 1
make[1]: Leaving directory `/home/xbmc/build/xbmc/xbmc'
make: *** [xbmc] Error 2
The revision 19050 or around that one compiled successfully. But the latest ones (19078) fail to compile again. --disable-joystick flag doesn't help. Weird - most of the problems with compilation are joystick related for the last 3-4 days.. Hopefully SVN will be fixed soon.
Posts: 170
Joined: Jan 2009
Reputation:
0
Seems like line #773 should read
#if defined(HAS_SDL_JOYSTICK) && defined(HAS_EVENT_SERVER)
instead of
#if defined(HAS_SDL_JOYSTICK) || defined(HAS_EVENT_SERVER)
............ i think................ - at least that's what other joystick macros clauses read in this file..
Posts: 170
Joined: Jan 2009
Reputation:
0
Yes, fixing line 773 of Application.cpp file as outlined above (replace bitwise OR with AND) does fix the problem: can compile 19078 with the build configuration:
./configure --prefix=/usr --disable-pulse --enable-vdpau --disable-joystick
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Darn, Yeah that one is supposed to fix it but it contains an accidental piece of code.
Note to self, don´t drink and commit :S
If you have problems please read
this before posting
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.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 28
Joined: Mar 2009
Reputation:
1
qubix
Junior Member
Posts: 28
I confirm. 19081 compiles under gentoo, but one needs to set "joystick" use flag on.
Posts: 170
Joined: Jan 2009
Reputation:
0
No, line 773 (not 3601) still has 'OR' condition instead of 'AND' in rev 17073. As mentioned above, as of rev. 19078 that condition still breaks the build (I guess the marco on line 773 is entered based on the 'HAS_EVENT_SERVER' condition, since I have joystick disabled.
Posts: 1,741
Joined: Jul 2006
Reputation:
4
SVN 19082 compiled and installed fine here - looks to be fixed. Joystick is ON for my build (default)
Posts: 170
Joined: Jan 2009
Reputation:
0
Confirmed: rev 19098 compiles, but have to enable joystick flag (default behaviour)