diff --git a/Projects/ComptonTelescope/online/CMakeLists.txt b/Projects/ComptonTelescope/online/CMakeLists.txt index 4138480665b8f1d272513e95767e25eaf217004a..f71999185be5f4b5d263d503478c0bdc03b90724 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 bdb25724cc0a33fa6f145017687795c092f11531..86c77065dd5bc3b63f4c8e601ff147c3b36d5532 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