PDA

View Full Version : Cant compile from version 11986 on


snappz
2008-03-11, 15:01
Hi.
It is more than likely something I am doing wrong but I cant for the life of me get XBMC to compile a version higher than 11985.

Error message from 11986 is

make[1]: *** [GraphicContext.o] Error 1
make: *** [guilib] Error 2
The error message from 12028 is

GraphicContext.cpp:1155:12: error: invalid suffix "f" on integer constant
GraphicContext.cpp:1157:12: error: invalid suffix "f" on integer constant
GraphicContext.cpp:1158:10: error: invalid suffix "f" on integer constant
make[1]: *** [GraphicContext.o] Error 1
make[1]: Leaving directory `/home/sean/XBMC/guilib'
make: *** [guilib] Error 2
make: *** Waiting for unfinished jobs....
rm -f CueDocument.o
/usr/bin/ccache g++ -c -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -I/usr/include/lzo -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_MMS -DHAS_PCRE -I. -Ilinux -Icores -I../guilib -Iutils -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/Core -Ilib/libUPnP/Platinum/Source/Core -Ilib/libUPnP/Platinum/Source/Devices/MediaServer -Ilib/libUPnP/Platinum/ThirdParty/Neptune/Source/System/Posix -Ilib/libUPnP/Platinum/Source/Devices/MediaConnect -Ilib/libUPnP/Platinum/Source/Devices/MediaRenderer CueDocument.cpp -o CueDocument.o
Application.cpp: In member function ‘virtual HRESULT CApplication::Create(void*)’:
Application.cpp:850: error: ‘strExecutablePath’ was not declared in this scope
Application.cpp:870: error: redeclaration of ‘CStdString strExecutablePath’
Application.cpp:850: error: ‘<typeprefixerror>strExecutablePath’ previously declared here
make[1]: *** [Application.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/sean/XBMC/xbmc'
make: *** [xbmc] Error 2
make: Leaving directory `/home/sean/XBMC'
make[1]: *** [GraphicContext.o] Error 1
make: *** [guilib] Error 2
make[1]: *** [Application.o] Error 1
make: *** [xbmc] Error 2
I'm using ubuntu 7.10 and just this evening, python was updated by Update Manager.
Anyone else seeing this problem?

Fire69
2008-03-11, 15:22
Same problem here with revision 12028.
I'm a total Linux-n00b, so I have no clue whatsoever what is causing the problem...

snappz
2008-03-11, 15:34
12029 has fixed it. Thanks topfs2

Fire69
2008-03-11, 16:06
Great, compile works fine now! :)

Jezz_X
2008-03-12, 00:08
How about we leave "Can't Compile" comments about 24 hours before posting :)

Nick8888
2008-03-12, 03:17
How about we leave "Can't Compile" comments about 24 hours before posting

ditto.

especially ones regarding new dependencies.