Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » SDLCtrl does not compile
SDLCtrl does not compile [message #44910] Mon, 20 July 2015 23:05 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am not able to compile SDLCtrl_demo package (lubuntu 15.04 (32 bit), U++ 8394 vivid i386 downloaded via PPA as explained here https://launchpad.net/~dolik-rce/+archive/ubuntu/upp-nightly ).
Instead I can compile and run Example/SDLExample package.

What am I missing?

Thanks,
Luigi

--------------- just some lines of the huge output----------------
SDLCtrl.cpp
In file included from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4:0,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/home/luigi/upp/bazaar/SDL/SDLWrapper.h:16:0: warning: "INT64_C" redefined
#define INT64_C(val) val##LL
^
In file included from /usr/lib/gcc/i686-linux-gnu/4.9/include/stdint.h:9:0,
from /home/luigi/upp/uppsrc/Core/Core.h:78,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/usr/include/stdint.h:288:0: note: this is the location of the previous definition
# define INT64_C(c) c ## LL
^
In file included from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4:0,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/home/luigi/upp/bazaar/SDL/SDLWrapper.h:17:0: warning: "UINT64_C" redefined
#define UINT64_C(val) val##ULL
^
In file included from /usr/lib/gcc/i686-linux-gnu/4.9/include/stdint.h:9:0,
from /home/luigi/upp/uppsrc/Core/Core.h:78,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/usr/include/stdint.h:298:0: note: this is the location of the previous definition
# define UINT64_C(c) c ## ULL
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:211:9: error: reference to 'Font' is ambiguous
Font font; /* default text font for text operations */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:100:13: note: candidates are: typedef XID Font
typedef XID Font;
^
In file included from /home/luigi/upp/uppsrc/RichText/RichText.h:4:0,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Draw.h:36:7: note: class Upp::Font
class Font : public ValueType<Font, FONT_V, Moveable<Font> >{
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:211:9: error: 'Font' does not name a type
Font font; /* default text font for text operations */
^
/usr/include/X11/Xlib.h:481:9: error: reference to 'Time' is ambiguous
Time time;
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /home/luigi/upp/uppsrc/Core/Core.h:258:0,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Core/TimeDate.h:90:8: note: struct Upp::Time
struct Time : Date, RelOps< Time, Moveable<Time> > {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:481:9: error: 'Time' does not name a type
Time time;
^
/usr/include/X11/Xlib.h:573:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;
^
In file included from /home/luigi/upp/uppsrc/Draw/Draw.h:896:0,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Display.h:1:7: note: class Upp::Display
class Display {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:573:2: error: 'Display' does not name a type
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:577:2: error: reference to 'Time' is ambiguous
Time time; /* milliseconds */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /home/luigi/upp/uppsrc/Core/Core.h:258:0,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Core/TimeDate.h:90:8: note: struct Upp::Time
struct Time : Date, RelOps< Time, Moveable<Time> > {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:577:2: error: 'Time' does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:591:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;
^
In file included from /home/luigi/upp/uppsrc/Draw/Draw.h:896:0,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Display.h:1:7: note: class Upp::Display
class Display {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:591:2: error: 'Display' does not name a type
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:595:2: error: reference to 'Time' is ambiguous
Time time; /* milliseconds */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /home/luigi/upp/uppsrc/Core/Core.h:258:0,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Core/TimeDate.h:90:8: note: struct Upp::Time
struct Time : Date, RelOps< Time, Moveable<Time> > {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:595:2: error: 'Time' does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:609:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;
^
In file included from /home/luigi/upp/uppsrc/Draw/Draw.h:896:0,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Display.h:1:7: note: class Upp::Display
class Display {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:609:2: error: 'Display' does not name a type
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:613:2: error: reference to 'Time' is ambiguous
Time time; /* milliseconds */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /home/luigi/upp/uppsrc/Core/Core.h:258:0,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Core/TimeDate.h:90:8: note: struct Upp::Time
struct Time : Date, RelOps< Time, Moveable<Time> > {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:613:2: error: 'Time' does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:626:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;
^
In file included from /home/luigi/upp/uppsrc/Draw/Draw.h:896:0,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Display.h:1:7: note: class Upp::Display
class Display {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:626:2: error: 'Display' does not name a type
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:630:2: error: reference to 'Time' is ambiguous
Time time; /* milliseconds */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL/SDL_syswm.h:58,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /home/luigi/upp/uppsrc/Core/Core.h:258:0,
from /home/luigi/upp/uppsrc/Draw/Draw.h:6,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Core/TimeDate.h:90:8: note: struct Upp::Time
struct Time : Date, RelOps< Time, Moveable<Time> > {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:630:2: error: 'Time' does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:650:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;
^
In file included from /home/luigi/upp/uppsrc/Draw/Draw.h:896:0,
from /home/luigi/upp/uppsrc/RichText/RichText.h:4,
from /home/luigi/upp/uppsrc/CtrlCore/CtrlCore.h:4,
from /home/luigi/upp/uppsrc/CtrlLib/CtrlLib.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:1:
/home/luigi/upp/uppsrc/Draw/Display.h:1:7: note: class Upp::Display
class Display {
^
In file included from /usr/include/SDL/SDL_syswm.h:58:0,
from /home/luigi/upp/bazaar/SDL/SDLWrapper.h:11,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.h:4,
from /home/luigi/upp/bazaar/SDL/SDLCtrl.cpp:5:
/usr/include/X11/Xlib.h:650:2: error: 'Display' does not name a type
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:669:2: error: reference to 'Display' is ambiguous
Display *display; /* Display the event was read from */
^
/usr/include/X11/Xlib.h:499:26: note: candidates are: typedef struct _XDisplay Display
typedef struct _XDisplay Display;

[CONTINUE....]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SDL 2.0
Next Topic: Functions4U: Replaced Tokenize() with safer Tokenize2()
Goto Forum:
  


Current Time: Sat Apr 20 14:19:59 CEST 2024

Total time taken to generate the page: 0.04927 seconds