I think this is not enought because gcc seach in the sf::namespace and also in anonymous namespace (and not in the current namespace)
And there are the same types in the two libs so...
-------------- Build: Debug in ODFAEG-DEMO (compiler: GNU GCC Compiler)---------------
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:169:1: error: reference to ‘Uint64’ is ambiguous
SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8);
^
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:318:42: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:318:56: error: expected primary-expression before ‘char’
extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
^
/usr/include/SDL2/SDL_stdinc.h:318:67: error: expected primary-expression before ‘int’
extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
^
/usr/include/SDL2/SDL_stdinc.h:318:76: error: expression list treated as compound expression in initializer [-fpermissive]
extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix);
^
/usr/include/SDL2/SDL_stdinc.h:325:17: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:325:17: error: ‘Uint64’ does not name a type
extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base);
^
In file included from /usr/include/SDL2/SDL_audio.h:33:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_endian.h:167:18: error: reference to ‘Uint64’ is ambiguous
SDL_FORCE_INLINE Uint64
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_audio.h:33:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_endian.h:167:18: error: ‘Uint64’ does not name a type
SDL_FORCE_INLINE Uint64
^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_rwops.h:204:17: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_rwops.h:204:17: error: ‘Uint64’ does not name a type
extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
^
/usr/include/SDL2/SDL_rwops.h:205:17: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_rwops.h:205:17: error: ‘Uint64’ does not name a type
extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
^
/usr/include/SDL2/SDL_rwops.h:219:63: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_rwops.h:219:63: error: ‘Uint64’ has not been declared
extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
^
/usr/include/SDL2/SDL_rwops.h:220:63: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL_audio.h:36:0,
from /usr/include/SDL2/SDL.h:71,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_rwops.h:220:63: error: ‘Uint64’ has not been declared
extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
^
In file included from /usr/include/SDL2/SDL.h:91:0,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_timer.h:61:17: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL.h:91:0,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_timer.h:61:17: error: ‘Uint64’ does not name a type
extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
^
/usr/include/SDL2/SDL_timer.h:66:17: error: reference to ‘Uint64’ is ambiguous
extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
^
In file included from /usr/include/SDL2/SDL_main.h:25:0,
from /usr/include/SDL2/SDL.h:67,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_stdinc.h:154:18: note: candidates are: typedef uint64_t Uint64
typedef uint64_t Uint64;
^
In file included from /usr/local/include/SFML/Graphics/Export.hpp:31:0,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:7,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Config.hpp:153:36: note: typedef long long unsigned int sf::Uint64
typedef unsigned long long Uint64;
^
In file included from /usr/include/SDL2/SDL.h:91:0,
from /usr/local/include/odfaeg/Graphics/videoMode.h:3,
from /usr/local/include/odfaeg/Graphics/window.h:5,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/SDL2/SDL_timer.h:66:17: error: ‘Uint64’ does not name a type
extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/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/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:100:13: note: candidates are: typedef XID Font
typedef XID Font;
^
In file included from /usr/local/include/SFML/Graphics.hpp:35:0,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Graphics/Font.hpp:50:25: note: class sf::Font
class SFML_GRAPHICS_API Font
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/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:272:2: error: reference to ‘Window’ is ambiguous
Window root; /* Root window id. */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:272:2: error: ‘Window’ does not name a type
Window root; /* Root window id. */
^
/usr/include/X11/Xlib.h:326:5: error: reference to ‘Window’ is ambiguous
Window root; /* root of screen containing window */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:326:5: error: ‘Window’ does not name a type
Window root; /* root of screen containing window */
^
/usr/include/X11/Xlib.h:415:5: error: reference to ‘Window’ is ambiguous
Window sibling;
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:415:5: error: ‘Window’ does not name a type
Window sibling;
^
/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/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /usr/local/include/SFML/System/Clock.hpp:32:0,
from /usr/local/include/SFML/System.hpp:33,
from /usr/local/include/odfaeg/Math/vec4.h:6,
from /usr/local/include/odfaeg/Graphics/view.h:4,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:3,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/System/Time.hpp:40:23: note: class sf::Time
class SFML_SYSTEM_API Time
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:481:9: error: ‘Time’ does not name a type
Time time;
^
/usr/include/X11/Xlib.h:574:2: error: reference to ‘Window’ is ambiguous
Window window; /* "event" window it is reported relative to */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:574:2: error: ‘Window’ does not name a type
Window window; /* "event" window it is reported relative to */
^
/usr/include/X11/Xlib.h:575:2: error: reference to ‘Window’ is ambiguous
Window root; /* root window that the event occurred on */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:575:2: error: ‘Window’ does not name a type
Window root; /* root window that the event occurred on */
^
/usr/include/X11/Xlib.h:576:2: error: reference to ‘Window’ is ambiguous
Window subwindow; /* child window */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:576:2: error: ‘Window’ does not name a type
Window subwindow; /* child window */
^
/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/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /usr/local/include/SFML/System/Clock.hpp:32:0,
from /usr/local/include/SFML/System.hpp:33,
from /usr/local/include/odfaeg/Math/vec4.h:6,
from /usr/local/include/odfaeg/Graphics/view.h:4,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:3,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/System/Time.hpp:40:23: note: class sf::Time
class SFML_SYSTEM_API Time
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:577:2: error: ‘Time’ does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:592:2: error: reference to ‘Window’ is ambiguous
Window window; /* "event" window it is reported relative to */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:592:2: error: ‘Window’ does not name a type
Window window; /* "event" window it is reported relative to */
^
/usr/include/X11/Xlib.h:593:2: error: reference to ‘Window’ is ambiguous
Window root; /* root window that the event occurred on */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:593:2: error: ‘Window’ does not name a type
Window root; /* root window that the event occurred on */
^
/usr/include/X11/Xlib.h:594:2: error: reference to ‘Window’ is ambiguous
Window subwindow; /* child window */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:594:2: error: ‘Window’ does not name a type
Window subwindow; /* child window */
^
/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/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:77:23: note: candidates are: typedef long unsigned int Time
typedef unsigned long Time;
^
In file included from /usr/local/include/SFML/System/Clock.hpp:32:0,
from /usr/local/include/SFML/System.hpp:33,
from /usr/local/include/odfaeg/Math/vec4.h:6,
from /usr/local/include/odfaeg/Graphics/view.h:4,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:3,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/System/Time.hpp:40:23: note: class sf::Time
class SFML_SYSTEM_API Time
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:595:2: error: ‘Time’ does not name a type
Time time; /* milliseconds */
^
/usr/include/X11/Xlib.h:610:2: error: reference to ‘Window’ is ambiguous
Window window; /* "event" window reported relative to */
^
In file included from /usr/include/X11/Xlib.h:44:0,
from /usr/include/SDL2/SDL_syswm.h:66,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/X.h:96:13: note: candidates are: typedef XID Window
typedef XID Window;
^
In file included from /usr/local/include/SFML/Window.hpp:40:0,
from /usr/local/include/SFML/Graphics.hpp:32,
from /usr/local/include/odfaeg/Graphics/transformMatrix.h:10,
from /usr/local/include/odfaeg/Graphics/renderTarget.h:5,
from /usr/local/include/odfaeg/Graphics/renderWindow.h:8,
from /usr/local/include/odfaeg/Core/application.h:4,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/myApplication.h:8,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:2:
/usr/local/include/SFML/Window/Window.hpp:57:23: note: class sf::Window
class SFML_WINDOW_API Window : GlResource, NonCopyable
^
In file included from /usr/include/SDL2/SDL_syswm.h:66:0,
from /usr/local/include/odfaeg/Graphics/window.h:15,
from /home/laurent/Développement/Projets-c++/ODFAEG-DEMO/main.cpp:10:
/usr/include/X11/Xlib.h:610:2: error: ‘Window’ does not name a type
Window window; /* "event" window reported relative to */
^
/usr/include/X11/Xlib.h:611:2: error: reference to ‘Window’ is ambiguous
So I think that they are conflicts between SDL and SFML :/