From 34f55be8df9ba7e59735deba99c6f52b3046abd3 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 13 Sep 2021 15:22:22 +0200 Subject: [PATCH] #3470 merge vtk8itk5wx3-mingw64 --- CMakeLists.txt | 5 ++++- bbtk/src/bbcreaMaracasVisuManualPaint_Model.cxx | 17 ++++++----------- .../bbcreaMaracasVisuReadCreaContourFile.cxx | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fbc029..6eac5f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,10 @@ ENDIF(WIN32) ##. This cmake code is not working ?????? MacOs.. message(STATUS "Checking OpenMP") -find_package(OpenMP) +find_package(OpenMP ) +if(OpenMP_CXX_FOUND) + message("OpenMP. Yessssssss") +endif() IF(OPENMP_FOUND) message("Found OpenMP! ^_^") # add flags for OpenMP diff --git a/bbtk/src/bbcreaMaracasVisuManualPaint_Model.cxx b/bbtk/src/bbcreaMaracasVisuManualPaint_Model.cxx index aba4fc8..be8c85c 100644 --- a/bbtk/src/bbcreaMaracasVisuManualPaint_Model.cxx +++ b/bbtk/src/bbcreaMaracasVisuManualPaint_Model.cxx @@ -6,8 +6,9 @@ #include "bbcreaMaracasVisuManualPaint_Model.h" #include "bbcreaMaracasVisuPackage.h" -#include - +/* EED 20210-09-13 Not compiling in MacOs + #include +*/ namespace bbcreaMaracasVisu { @@ -268,15 +269,9 @@ printf("EED ManualPaint_Model::Process ByImagePoints (with openmp) size=%d for (index=0; index0) diff --git a/bbtk/src/bbcreaMaracasVisuReadCreaContourFile.cxx b/bbtk/src/bbcreaMaracasVisuReadCreaContourFile.cxx index a3fafa0..7e37121 100644 --- a/bbtk/src/bbcreaMaracasVisuReadCreaContourFile.cxx +++ b/bbtk/src/bbcreaMaracasVisuReadCreaContourFile.cxx @@ -120,7 +120,7 @@ void ReadCreaContourFile::Process() bbSetOutputLstIndexs( LstIndexs ); } else { - printf("EED Warnning! ReadCreaContourFile::Process %s is not a creaContour .roi file\n",bbGetInputFileNameRoi() ); + printf("EED Warnning! ReadCreaContourFile::Process %s is not a creaContour .roi file\n",bbGetInputFileNameRoi().c_str() ); } // if --CreaContour-- } // if ff } // if FileNameRoi -- 2.47.1