From 1bfc77a262fac7613efb9c4d34b2970bb3d1a31e Mon Sep 17 00:00:00 2001 From: adrien matta <matta@lpccaen.in2p3.fr> Date: Thu, 22 Oct 2020 13:38:15 +0200 Subject: [PATCH] * change in compton telescope compilation --- Projects/ComptonTelescope/online/CMakeLists.txt | 4 +++- Projects/ComptonTelescope/online/src/online.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Projects/ComptonTelescope/online/CMakeLists.txt b/Projects/ComptonTelescope/online/CMakeLists.txt index 413848066..f71999185 100644 --- a/Projects/ComptonTelescope/online/CMakeLists.txt +++ b/Projects/ComptonTelescope/online/CMakeLists.txt @@ -5,7 +5,9 @@ set (CCAM_VERSION_MINOR 1) set(CMAKE_BUILD_TYPE Release) # support for c++11 -set (CMAKE_CXX_STANDARD 11) +#set (CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++11 -m64 -I/scratch/root_install/include") +set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -m64") # set directories set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) diff --git a/Projects/ComptonTelescope/online/src/online.cpp b/Projects/ComptonTelescope/online/src/online.cpp index bdb25724c..86c77065d 100644 --- a/Projects/ComptonTelescope/online/src/online.cpp +++ b/Projects/ComptonTelescope/online/src/online.cpp @@ -42,7 +42,7 @@ int main() // m_NPDetectorManager->ReadConfigurationFile(detectorfileName); m_NPDetectorManager->ReadConfigurationFile(detectorfileName); m_NPDetectorManager->InitializeRootOutput(); - m_NPDetectorManager->InitializeRootInput(); +// m_NPDetectorManager->InitializeRootInput(); // Essential! #if __cplusplus > 199711L && NPMULTITHREADING -- GitLab