PDA

View Full Version : recent checkout broke build completly


WiSo
2008-02-21, 22:29
Hi,

maybe I'm tired from three days of seminar but I just checked out again and can't build it anymore. I get tons of errors about being std:: a C2059 syntax error (Guislistlabel.cpp,XKGeneral and DirectXgraphics.cpp for example) and break and continue being illegal keywords (XKgeneral.cpp).
Additional VS 2003 doesn't know the warning pragma. Do I have to add _MSVC to the precompiler definitions in the project? Did this somehow change during the last revisions? Is there anywhere documented if such definitions need to be added manually? ???

Gamester17
2008-02-22, 14:39
FYI; the SourceForge website have been going offline then online back and forward in the last couple of days (however it seems to be a little bit more stable today) so it is very possible that is causing problems on SVN checkouts.

WiSo
2008-02-22, 15:07
Thanks. I'll keep the old revision on my MacBook for the time being. Otherwise I find myself only in fixing dependencies which is very frustrating :sad:

WiSo
2008-02-23, 23:22
After hours of trying I got the build compiled on my macbook with vista and VC 2005.
First svn didn't work and then I had to fix some things:
- I had to change most of the std::max and std::min to max and min
- I've added gettimeofday to cpuinfo.cpp because the header file was only included when _LINUX was defined but the object g_cpuInfo was still defined and not excluded in windows
- In upnp.cpp I had to change all ocurence of

#ifndef _LINUX
g_applicationMessenger.MediaPlay((const char*)uri);
#else
g_application.getApplicationMessenger().MediaPlay( (const char*)uri);
#endif

into

#ifdef _HAS_XBOX_HARDWARE
g_applicationMessenger.MediaPlay((const char*)uri);
#else
g_application.getApplicationMessenger().MediaPlay( (const char*)uri);
#endif


Anyway when running the build I get an exception in CGUIImage::Render() when calling glActiveTextureARB(GL_TEXTURE0_ARB).
Does anyone has
a) a recent xbmc_pc.exe running under Vista ?
b) compiled under Vista and get in running without problems?

Unfortunately I've got nothing new done or fixed just compilation fixes in a few hours :sad:

WiSo
2008-02-24, 22:46
Ok, looks like I speak to myself here ;)
Anyway if I'm allowed to say a wish I would like to ask the developers here to use precompiler definitions more consequent.

Thanks,
WiSo

Bonejob
2008-08-03, 05:54
Ok, looks like I speak to myself here ;)
Anyway if I'm allowed to say a wish I would like to ask the developers here to use precompiler definitions more consequent.

Thanks,
WiSo

I second that!

Bone