Compilation fixes

pull/736/head
Piero Toffanin 2018-01-02 13:40:12 -05:00
rodzic 6492a4e1c3
commit 3848cc6529
3 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -16,7 +16,6 @@ ExternalProject_Add(${_proj_name}
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
-DVTK_SMP_IMPLEMENTATION_TYPE=TBB
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=OFF
-DVTK_Group_Rendering=OFF
-DBUILD_TESTING=OFF
#--Build step-----------------

Wyświetl plik

@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR})
set (CMAKE_CXX_STANDARD 11)
#set(VTK_DIR "/data/packages/VTK-7.1.1-build")
set(VTK_SMP_IMPLEMENTATION_TYPE TBB)
find_package(VTK 7.1.1 REQUIRED)

Wyświetl plik

@ -165,7 +165,7 @@ void Odm25dMeshing::buildMesh(){
log << "DSM size is " << width << "x" << height << " (" << ceil(width * height * sizeof(float) * 1e-6) << " MB) \n";
image->AllocateScalars(VTK_FLOAT, 1);
log << "Point interpolation using shepard's kernel...";
log << "Point interpolation using shepard's kernel... ";
vtkSmartPointer<vtkPointInterpolator> interpolator =
vtkSmartPointer<vtkPointInterpolator>::New();