Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
compile fixes on ubuntu precise/g++-4.8 - refs #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Feb 3, 2014
1 parent 9ab9eee commit f1e7421
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions include/llmr/geometry/debug_font_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define LLMR_GEOMETRY_DEBUG_FONT_BUFFER

#include <vector>
#include <cstdint>

namespace llmr {

Expand Down
1 change: 1 addition & 0 deletions include/llmr/geometry/fill_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define LLMR_GEOMETRY_FILL_BUFFER

#include <vector>
#include <cstdint>

namespace llmr {

Expand Down
2 changes: 1 addition & 1 deletion include/llmr/geometry/line_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define LLMR_GEOMETRY_LINE_BUFFER

#include <vector>

#include <cstdint>
#include <cmath>

namespace llmr {
Expand Down
2 changes: 1 addition & 1 deletion include/llmr/geometry/vertex_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define LLMR_GEOMETRY_VERTEX_BUFFER

#include <vector>

#include <cstdint>
#include <cmath>

namespace llmr {
Expand Down
1 change: 1 addition & 0 deletions include/llmr/map/vector_tile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <vector>
#include <map>
#include <set>
#include <limits>

namespace llmr {

Expand Down
5 changes: 4 additions & 1 deletion include/llmr/platform/gl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
#error Unsupported Apple platform
#endif
#else
#error Unsupported platform
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#endif

#endif
1 change: 1 addition & 0 deletions include/llmr/renderer/fill_bucket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <llmr/style/bucket_description.hpp>

#include <vector>
#include <memory>

namespace llmr {

Expand Down
2 changes: 1 addition & 1 deletion include/llmr/renderer/line_bucket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "bucket.hpp"
#include <llmr/style/bucket_description.hpp>

#include <memory>
#include <vector>

namespace llmr {
Expand Down
1 change: 1 addition & 0 deletions include/llmr/style/properties.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <array>
#include <vector>
#include <string>
#include <limits>

namespace llmr {

Expand Down
1 change: 1 addition & 0 deletions include/llmr/util/vec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define llmr_util_vec2_

#include <limits>
#include <type_traits>

namespace llmr {

Expand Down
1 change: 1 addition & 0 deletions src/geometry/debug_font_buffer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <llmr/geometry/debug_font_buffer.hpp>
#include <llmr/platform/gl.hpp>
#include <cmath>
#include <cstring>

#include "debug_font.cpp"

Expand Down
2 changes: 1 addition & 1 deletion src/map/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <iostream>
#include <thread>

#include <algorithm>
#include <cmath>
#include <cassert>

Expand Down
2 changes: 1 addition & 1 deletion src/map/vector_tile.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <llmr/map/vector_tile.hpp>
#include <llmr/style/bucket_description.hpp>

#include <algorithm>

using namespace llmr;

Expand Down
1 change: 1 addition & 0 deletions src/renderer/painter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <cmath>
#include <array>
#include <numeric>
#include <algorithm>

using namespace llmr;

Expand Down

0 comments on commit f1e7421

Please sign in to comment.