diff --git a/cmake/CMakeSetCompilerOptions.cmake b/cmake/CMakeSetCompilerOptions.cmake
index b73e149..11c9f56 100644
--- a/cmake/CMakeSetCompilerOptions.cmake
+++ b/cmake/CMakeSetCompilerOptions.cmake
@@ -5,13 +5,13 @@ if( UNIX OR MINGW )
# https://cmake.org/cmake/help/v3.1/prop_tgt/CXX_STANDARD.html
include(CheckCXXCompilerFlag)
- CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
+ CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)
- if (NOT COMPILER_SUPPORTS_CXX11)
- message(ERROR "Your compiler does not support C++11")
+ if (NOT COMPILER_SUPPORTS_CXX14)
+ message(ERROR "Your compiler does not support C++14")
endif()
- set( CXX11_FLAG "-std=c++11")
+ set( CXX11_FLAG "-std=c++14")
# MinGW doesn't use fPIC
if( UNIX )
diff --git a/plugins/core/Standard/qPCL/PclUtils/utils/my_point_types.h b/plugins/core/Standard/qPCL/PclUtils/utils/my_point_types.h
index 3128e83..7f5cd7f 100644
--- a/plugins/core/Standard/qPCL/PclUtils/utils/my_point_types.h
+++ b/plugins/core/Standard/qPCL/PclUtils/utils/my_point_types.h
@@ -21,6 +21,7 @@
//PCL
#include <pcl/register_point_struct.h>
#include <pcl/point_types.h>
+#include <boost/cstdint.hpp>
//! PCL custom point type used for reading RGB data
struct OnlyRGB