From 7a898e584d02716b7aff404b4e369e5496facf83 Mon Sep 17 00:00:00 2001 From: Vasu Agrawal Date: Tue, 10 Jan 2017 15:42:09 -0500 Subject: [PATCH 1/2] Fixed build issue with Geometry.h Geometry.h was missing an include that made it not compile on my machine. I've added the import and it compiles now. --- src/Geometry.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Geometry.h b/src/Geometry.h index b41dc19..029b74d 100644 --- a/src/Geometry.h +++ b/src/Geometry.h @@ -12,6 +12,7 @@ // Note: Geometry.h is a bit of a misnomer, as this holds a bunch of // classes all used by the TagDetector class. +#include #include "AprilTypes.h" ////////////////////////////////////////////////////////////////////// From df60f6bc4be3cd80c166a923b6e76f32021fcc59 Mon Sep 17 00:00:00 2001 From: Vasu Agrawal Date: Tue, 10 Jan 2017 15:57:21 -0500 Subject: [PATCH 2/2] Force C++ 11 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f38836b..0dfa6ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.6) project(APRILTAGS) +set_property(GLOBAL PROPERTY CXX_STANDARD 11) + set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})