ROOT Compilation Issue:: template parameter redefines default argument

Hello,
I am trying to install the new root (version 6.28/04) from the source on my Mac.

However, I see that the root and nlohmann/json packages are interfering:

[ 86%] Building CXX object graf3d/eve7/CMakeFiles/ROOTEve.dir/src/REveBoxSet.cxx.o
In file included from /Users/arkasantra/root-6.28.04/graf3d/eve7/src/REveBox.cxx:18:
/usr/local/include/nlohmann/json.hpp:3310:23: error: template parameter redefines default argument
template<typename T = void, typename SFINAE = void>
                      ^
/Users/arkasantra/root-6.28.04/graf3d/eve7/inc/ROOT/REveElement.hxx:39:23: note: previous default template argument defined here
template<typename T = void, typename SFINAE = void>
                      ^
In file included from /Users/arkasantra/root-6.28.04/graf3d/eve7/src/REveBox.cxx:18:
/usr/local/include/nlohmann/json.hpp:3310:47: error: template parameter redefines default argument
template<typename T = void, typename SFINAE = void>
                                              ^
/Users/arkasantra/root-6.28.04/graf3d/eve7/inc/ROOT/REveElement.hxx:39:47: note: previous default template argument defined here
template<typename T = void, typename SFINAE = void>

and so on…

How do I solve this issue?
Please find more details about the installation below.

Thank you very much,
Arka


_ROOT Version:6.28/04
_Platform:MacOSX
_Compiler: AppleClang 14.0.3.14030022


The detailed configuration for ROOT on my Mac is shown below:

-- ROOT Configuration

System          Darwin-22.5.0
Processor       8 core Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (x86_64)
Build type      Release
Install path    /Users/arkasantra/Root6_Install
Compiler        AppleClang 14.0.3.14030022
Compiler flags:
C                -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++              -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable      -L/usr/local/opt/qt@5/lib -mmacosx-version-min=13.4
Module          -L/usr/local/opt/qt@5/lib
Shared          -L/usr/local/opt/qt@5/lib

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_glew builtin_gtest builtin_llvm builtin_openssl builtin_openui5 builtin_vdt builtin_xrootd builtin_xxhash clad cocoa dataframe davix exceptions fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot pythia8 roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd

Hi Arka,

Please check nlohmann/json.hpp version which is installed on your system.

It should be 3.9 or 3.10.

You also can enforce usage of built-in version providing -Dbuiltin_nlohmannjson=ON to cmake

Regards,
Sergey

Hi,
The version of JSON is 3.10.5:

-- Looking for nlohmann/json.hpp
-- Found nlohmann/json.hpp in /usr/local/include;/usr/local/include (found version 3.10.5)

However when I turned on

-Dbuiltin_nlohmannjson=ON

I see that the setup is now compiling.
So this issue is now solved.
Thank you.

I noticed another issue, though.
When I am opening Root TBrowser (not the web-based browser),
I see that root crashes:

root [0] TH1F h
(TH1F &) Name:  Title:  NbinsX: 1
root [1] h.Draw()

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation] __kCFAllocatorSystemDefault (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::initialize(IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::SetApplicationIcon() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::MapWindow(unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TGStatusBar::TGStatusBar(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootCanvas::CreateCanvas(char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootCanvas::TRootCanvas(TCanvas*, char const*, int, int, unsigned int, unsigned int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootGuiFactory::CreateCanvasImp(TCanvas*, char const*, int, int, unsigned int, unsigned int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::Constructor(char const*, char const*, int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::TCanvas(char const*, char const*, int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::MakeDefCanvas() (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TROOT::ProcessLine(char const*, int*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TObject::AppendPad(char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libHist.so] TH1::Draw(char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::HandleTermInput() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::InnerLoop() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::Run() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TApplication::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

What can be a possible solution?

Best,
Arka

This is most probably mismatch with system and builtin libpng.
You should try to install libpng-dev - and recompile ROOT.

Hi,
I reinstalled

libpng

On Mac using brew install libpng.

I reinstalled Root, but I am getting the same error for TBrowser:

root [0] TH1F h
(TH1F &) Name:  Title:  NbinsX: 1
root [1] h.Draw()

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation] __kCFAllocatorSystemDefault (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::initialize(IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::SetApplicationIcon() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::MapWindow(unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TGStatusBar::TGStatusBar(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootCanvas::CreateCanvas(char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootCanvas::TRootCanvas(TCanvas*, char const*, int, int, unsigned int, unsigned int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootGuiFactory::CreateCanvasImp(TCanvas*, char const*, int, int, unsigned int, unsigned int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::Constructor(char const*, char const*, int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::TCanvas(char const*, char const*, int) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGpad.so] TCanvas::MakeDefCanvas() (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TROOT::ProcessLine(char const*, int*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TObject::AppendPad(char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libHist.so] TH1::Draw(char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::HandleTermInput() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::InnerLoop() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::Run() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TApplication::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

May I know what is possibly going wrong?
It works fine for web-based browsers.

Best,
Arka

Did you recompile ROOT?

Can you check that lib/libASImage.dylib linked with system libpng

Hi @linev ,
After reinstalling libpng, I reinstalled root from scratch.
I looked for the specific library file in the install/lib directory, and I see that it exists:

ls -lhrt libAS*
-rwxr-xr-x  1 arkasantra  staff   1.7M May 26 23:46 libASImage.so
-rwxr-xr-x  1 arkasantra  staff   430K May 26 23:46 libASImageGui.so

But I am not sure if it is linked to the libpng of the system.
Many other libraries in that directory are not explicitly linked (for example, libEGPythia8.so).

Best,
Arka

Sorry, I am not big expert on mac.

Probably @couet can help you much better

What cmake options did you used ?

Hi @couet,
These are the cmake options I used:

-DCMAKE_INSTALL_PREFIX=/Users/arkasantra/Root6_Install -DPython3_EXECUTABLE=python3 -DPython2_EXECUTABLE=python2 -DCMAKE_CXX_STANDARD=17 -Dbuiltin_nlohmannjson=ON -Dminuit2=ON -Dxrootd=ON

Best,
Arka

Ok, you do not specify any particular option.
For me, on Mac, it works. cmake finds the installed png lib:

...
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.1.0")  
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.6.38.git") 
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "90") 
...

Dear @couet ,
May I know the cmake options that you used?
For me, when I used:

 cmake -DCMAKE_INSTALL_PREFIX=/Users/arkasantra/Root6_Install -DPython3_EXECUTABLE=python3 -DPython2_EXECUTABLE=python2 -DCMAKE_CXX_STANDARD=17 -Dbuiltin_nlohmannjson=ON -Dminuit2=ON -Dxrootd=ON /Users/arkasantra/root-6.28.04

I get these outputs (without any mention of PNG, or TIFF or JPEG, even though I checked that the libraries are there in my system in the locations your system found):

-- Checking internet connectivity
-- Checking internet connectivity - found
-- Looking for Python
-- Found Python3: /Users/arkasantra/opt/anaconda3/bin/python3.9 (found version "3.9.7") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Performing Test HAS_LIBCXX11
-- Performing Test HAS_LIBCXX11 - Success
-- Found a macOS system 13.4
-- Found an x86_64 system
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 14.0.3.14030022
-- ROOT Processor: x86_64
-- ROOT Architecture: macosx64
-- Build Type: 'Release' (flags = '-O3 -DNDEBUG')
-- Compiler Flags:  -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
-- ROOT default compression algorithm: zlib
-- PyROOT will be built for versions 3.9.7 (Main) and 2.7.18
-- Looking for ZLib
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Looking for LZMA
-- Looking for ZSTD
-- Looking for LZ4
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Looking for OpenGL
-- Looking for gl2ps
-- Looking for LibXml2
-- Looking for SQLite
-- Looking for Pythia8
-- Looking for CFITSIO
-- Downloading and building XROOTD version 5.5.2
-- Checking for module 'davix>=0.6.4'
--   Found davix, version 0.8.4
-- Looking for TBB
-- Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
-- Looking for BLAS for optional parts of TMVA
-- Building LLVM in 'Release' mode.
-- Found libtool - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- LLVM host triple: x86_64-apple-darwin22.5.0
-- LLVM default target triple: x86_64-apple-darwin22.5.0
-- Building with -fPIC
-- Found Python3: /Users/arkasantra/opt/anaconda3/bin/python3.9 (found suitable version "3.9.7", minimum required is "3.0") found components: Interpreter
-- Targeting X86
-- Targeting NVPTX
-- Clang version: 13.0.0
-- Host linker version: 857.1
-- Not building amdgpu-arch: hsa-runtime64 not found
-- Cling version (from VERSION file): ROOT_1.0~dev
-- Cling will look for C++ headers in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1' at runtime.
-- And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk' for them.
-- Use SSL API VERSION 1.1 for civetweb
-- Distributed RDataFrame enabled
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Success
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Success
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Success
Running /Users/arkasantra/root-6.28.04/build/unix/compiledata.sh
Changing /Users/arkasantra/Root6_Build/ginclude/compiledata.h
-- ROOT Configuration

System          Darwin-22.5.0
Processor       8 core Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (x86_64)
Build type      Release
Install path    /Users/arkasantra/Root6_Install
Compiler        AppleClang 14.0.3.14030022
Compiler flags:
C                -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++              -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable      -L/usr/local/opt/qt@5/lib -mmacosx-version-min=13.4
Module          -L/usr/local/opt/qt@5/lib
Shared          -L/usr/local/opt/qt@5/lib

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_glew builtin_gtest builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt builtin_xrootd builtin_xxhash clad cocoa dataframe davix exceptions fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot pythia8 roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/arkasantra/Root6_Build

Thanks,
Arka

-Dhttp=ON -Droot7=ON -DCMAKE_CXX_STANDARD=17 -Dall=ON -Dbuiltin_xrootd=ON

but basically that’s: -Dall=ON

Hi @couet ,
I saw that my libpng installed using brew had version 1.6.39, whereas the version that came with xcode is "1.6.38.git". I uninstalled the brew version of libpng.

Now when I configure root using:

cmake -DCMAKE_INSTALL_PREFIX=/Users/arkasantra/Root6_Install -DPython3_EXECUTABLE=python3 -DPython2_EXECUTABLE=python2 -DCMAKE_CXX_STANDARD=17 -Dbuiltin_nlohmannjson=ON -Dminuit2=ON -Dxrootd=ON /Users/arkasantra/root-6.28.04

I see that the version of libpng matches your system:

-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.5.0")
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.6.38.git")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "80")

(but not the libjpeg).

I recompiled root from scratch.
Yet, I see the same problem when I want to open TBrowser.

Here are some more details:

  1. Full configuration message
cmake -DCMAKE_INSTALL_PREFIX=/Users/arkasantra/Root6_Install -DPython3_EXECUTABLE=python3 -DPython2_EXECUTABLE=python2 -DCMAKE_CXX_STANDARD=17 -Dbuiltin_nlohmannjson=ON -Dminuit2=ON -Dxrootd=ON /Users/arkasantra/root-6.28.04
-- The C compiler identification is AppleClang 14.0.3.14030022
-- The CXX compiler identification is AppleClang 14.0.3.14030022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.39.2 (Apple Git-143)")
-- Checking internet connectivity
-- Checking internet connectivity - found
-- Looking for Python
-- Found Python3: /Users/arkasantra/opt/anaconda3/bin/python3.9 (found version "3.9.7") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Found Python2: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version "2.7.18") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system 13.4
-- Found an x86_64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 14.0.3.14030022
-- ROOT Processor: x86_64
-- ROOT Architecture: macosx64
-- Build Type: 'Release' (flags = '-O3 -DNDEBUG')
-- Compiler Flags:  -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
-- ROOT default compression algorithm: zlib
CMake Deprecation Warning at cmake/modules/RootBuildOptions.cmake:428 (message):
  >>> Option 'gfal' is deprecated and will be removed in the next release of
  ROOT.  Please contact root-dev@cern.ch should you still need it.
Call Stack (most recent call first):
  CMakeLists.txt:166 (include)


-- PyROOT will be built for versions 3.9.7 (Main) and 2.7.18
-- Looking for ZLib
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE: /usr/local/include (found version "8.45")
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/liblzma.tbd (found version "5.4.3")
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for ZSTD
-- Found ZSTD: /usr/local/lib/libzstd.dylib
-- Looking for LZ4
-- Found LZ4: /usr/local/lib/liblz4.dylib (found version "1.9.4")
-- Found GIF: /usr/local/lib/libgif.dylib (found version "5.2.1")
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.5.0")
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.6.38.git")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "80")
-- Looking for AfterImage
-- Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
-- AfterImage not found. Switching on builtin_afterimage option
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Found GSL: /usr/local/Cellar/gsl/2.7.1/include (found suitable version "2.7.1", minimum required is "1.10")
-- Looking for OpenGL
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/OpenGL.framework
-- Looking for GLEW
-- Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
-- GLEW not found. Switching on builtin_glew option
-- Looking for gl2ps
-- Could NOT find gl2ps (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/libxml2.tbd (found version "2.9.4")
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- OpenSSL not found, switching ON 'builtin_openssl' option.
-- Found OpenSSL: /Users/arkasantra/Root6_Build/builtins/openssl/OPENSSL-prefix/include (found version "1.1.1g")
-- Looking for MySQL
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Found Sqlite: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Found Pythia8: /Users/arkasantra/pythia8303/include
-- Looking for FFTW3
-- FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
--                  Alternatively, you can also enable the option 'builtin_fftw3' to build FFTW3 internally'
--                  For the time being switching OFF 'fftw3' option
-- Looking for CFITSIO
-- Found CFITSIO: /usr/local/lib/libcfitsio.dylib (found version "4.1")
-- Looking for XROOTD
-- XROOTD not found, enabling 'builtin_xrootd' option
-- Downloading and building XROOTD version 5.5.2
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
                      and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Could NOT find FTGL (missing: FTGL_INCLUDE_DIR FTGL_LIBRARY)
-- ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
-- For the time being switching ON 'builtin_ftgl' option
-- Checking for module 'davix>=0.6.4'
--   Found davix, version 0.8.4
-- Looking for TBB
-- Found TBB: /usr/local (Required is at least version "2018")
-- Looking for VDT
-- Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY) (Required is at least version "0.4")
-- VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
--                Switching ON 'builtin_vdt' option
-- Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /Users/arkasantra/opt/anaconda3/lib/libmkl_intel_lp64.dylib;/Users/arkasantra/opt/anaconda3/lib/libmkl_intel_thread.dylib;/Users/arkasantra/opt/anaconda3/lib/libmkl_core.dylib;/Users/arkasantra/opt/anaconda3/lib/libiomp5.dylib;-lm;-ldl
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Found libtool - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Found Python module pygments
-- Found Python module pygments.lexers.c_cpp
-- Found Python module yaml
-- LLVM host triple: x86_64-apple-darwin22.5.0
-- LLVM default target triple: x86_64-apple-darwin22.5.0
-- Building with -fPIC
-- Found Python3: /Users/arkasantra/opt/anaconda3/bin/python3.9 (found suitable version "3.9.7", minimum required is "3.0") found components: Interpreter
-- Linker detection: ld64
-- Targeting X86
-- Targeting NVPTX
-- Clang version: 13.0.0
-- Host linker version: 857.1
-- Not building amdgpu-arch: hsa-runtime64 not found
-- Cling version (from VERSION file): ROOT_1.0~dev
-- Cling will look for C++ headers in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1' at runtime.
-- And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk' for them.
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Use SSL API VERSION 1.1 for civetweb
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Performing Test CXX_HAS_Wno_delete_non_virtual_dtor
-- Performing Test CXX_HAS_Wno_delete_non_virtual_dtor - Success
-- Performing Test CXX_HAS_Wno_misleading_indentation
-- Performing Test CXX_HAS_Wno_misleading_indentation - Success
-- Performing Test CXX_HAS_Wno_overloaded_virtual
-- Performing Test CXX_HAS_Wno_overloaded_virtual - Success
-- Distributed RDataFrame enabled
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_opplusequal_stringview
-- Performing Test found_opplusequal_stringview - Success
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Success
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Success
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Success
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /Users/arkasantra/root-6.28.04/build/unix/compiledata.sh
Making /Users/arkasantra/Root6_Build/ginclude/compiledata.h
-- ROOT Configuration

System          Darwin-22.5.0
Processor       8 core Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (x86_64)
Build type      Release
Install path    /Users/arkasantra/Root6_Install
Compiler        AppleClang 14.0.3.14030022
Compiler flags:
C                -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++              -std=c++17 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable      -L/usr/local/opt/qt@5/lib -mmacosx-version-min=13.4
Module          -L/usr/local/opt/qt@5/lib
Shared          -L/usr/local/opt/qt@5/lib

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_gtest builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt builtin_xrootd builtin_xxhash clad cocoa dataframe davix exceptions fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot pythia8 roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/arkasantra/Root6_Build
  1. Error message while opening TBrowser:
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation] __kCFAllocatorSystemDefault (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::initialize(IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::SetApplicationIcon() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGCocoa.so] TGCocoa::MapWindow(unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TGStatusBar::TGStatusBar(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootBrowser::CreateBrowser(char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TClingCallFunc::exec(void*, void*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TClingCallFunc::exec_with_valref_return(void*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] long TClingCallFunc::ExecT<long>(void*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TMethodCall::Execute(void*, long&) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] long TPluginHandler::ExecPluginImpl<TBrowser*, char const*, unsigned int, unsigned int, char const*>(TBrowser* const&, char const* const&, unsigned int const&, unsigned int const&, char const* const&) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libGui.so] TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::HandleTermInput() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::InnerLoop() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TSystem::Run() (no debug info)
[/Users/arkasantra/Root6_Install/lib/libCore.so] TApplication::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/lib/libRint.so] TRint::Run(bool) (no debug info)
[/Users/arkasantra/Root6_Install/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

Any possible way out?

Best,
Arka

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.