ClanLib 3.0 SVN.
Code:
g++ `pkg-config --cflags clanApp-3.0 clanDisplay-3.0 clanCore-3.0 clanGL-3.0` -pthread -c Sources/hsv.cpp -o Sources/hsv.o
Sources/hsv.cpp: In member function ‘int HSV::start(const std::vector<std::basic_string<char> >&)’:
Sources/hsv.cpp:49:2: error: reference to ‘Font’ is ambiguous
In file included from /usr/include/X11/Xlib.h:44:0,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/TargetProviders/../Window/display_window.h:47,
                 from /usr/local/include/ClanLib-3.0/ClanLib/Display/TargetProviders/display_window_provider.h:41,
                 from /usr/local/include/ClanLib-3.0/ClanLib/display.h:125,
                 from Sources/precomp.h:5,
                 from Sources/hsv.cpp:29:
/usr/include/X11/X.h:100:13: error: candidates are: typedef XID Font
In file included from /usr/local/include/ClanLib-3.0/ClanLib/display.h:63:0,
                 from Sources/precomp.h:5,
                 from Sources/hsv.cpp:29:
/usr/local/include/ClanLib-3.0/ClanLib/Display/Font/font.h:48:22: error:                 class clan::Font
Sources/hsv.cpp:49:7: error: expected ‘;’ before ‘font’
Sources/hsv.cpp:71:3: error: ‘font’ was not declared in this scope
make: *** [Sources/hsv.o] Error 1
bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Display_Shaders/HSVExample$