Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiling error caused by lto option on Ubuntu 16.04 #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
project(gpd)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_CXX_STANDARD 14)
SET(CMAKE_AR "gcc-ar")
SET(CMAKE_RANLIB "gcc-ranlib")
SET(CMAKE_NM "gcc-nm")

# Eigen library
include_directories(${EIGEN3_INCLUDE_DIR})
Expand Down
6 changes: 6 additions & 0 deletions include/gpd/util/cloud.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@ class Cloud {
Cloud(const std::string &filename_left, const std::string &filename_right,
const Eigen::Matrix3Xd &view_points);

/**
* \brief Destructor
*/
virtual ~Cloud () {
};

/**
* \brief Remove NANs from the point cloud.
*/
Expand Down