Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-06 Thread akash ahmed
Dear all, The problem is resolved. Here is what I have done: Upgraded the xcode, cmake and macOS then restarted the computer. ./candi.sh -j 8 --packages="hdf5 p4est trilinos dealii" However, ended with exit 2, which was different from the previous (exit 1). Remove hdf5 and run as below: ./can

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-02 Thread akash ahmed
Dear Dr. Maier: Good evening. Yes, I could compile the hello_world.cpp program with g++ and it works. Then I uninstalled the "CommandLineTools" package and removed with sudo rm -rf /Library/Developer/CommandLineTools Again, I installed homebrew which installed the Xcode. Then installed with ./c

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-02 Thread Matthias Maier
It picks up the correct compiler: /Library/Developer/CommandLineTools/usr/bin/c++ But then all of the copmiler invocations fail with something like: ld: library not found for -lc++ This looks like that the C++ standard library (which is called libc++ for clang/llvm) is not installed properl

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-01 Thread akash ahmed
Dear Dr. Maier: Sure, please find it attached to this email. Thank you Jaman On Wed, Jan 1, 2025 at 2:15 PM Matthias Maier wrote: > Would you mind to post the file > > /CMakeFiles/CMakeConfigureLog.yaml ? > > Happy New Year, > Matthias > > > > On Wed, Jan 1, 2025, at 08:48 CST, akash ahmed

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-01 Thread Matthias Maier
Would you mind to post the file /CMakeFiles/CMakeConfigureLog.yaml ? Happy New Year, Matthias On Wed, Jan 1, 2025, at 08:48 CST, akash ahmed wrote: > Dear Dr. Maier: > > Happy New Year. Thank you so much for your response. I appreciate it. > I have followed the instructions given in the l

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2025-01-01 Thread akash ahmed
Dear Dr. Maier: Happy New Year. Thank you so much for your response. I appreciate it. I have followed the instructions given in the link and tried to install the dealii. However, the problem still exists. Here is the updated status: (base) mmohebuj@CASTFX0F4V2Math ~ % brew doctor Your system is

Re: [deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2024-12-31 Thread Matthias Maier
We saw this lately. The problem was that, for whatever reason, the Xcode compiler toolchain forgot to install the C++ standard library (clang/llvm's libc++). Can you try reinstalling the toolchain as described here? https://mac.install.guide/commandlinetools/7 Best, Matthias On Sat, Dec

[deal.II] Trouble with installation dealii v9.6.1 on Mac: C++17 support is disabled.

2024-12-31 Thread akash ahmed
Dear all, My MacBook Pro has a chip Apple M2 max and macOS Sonoma, Apple clang version 16.0.0 (clang-1600.0.26.6) cmake version 3.31.2. However, I got the following error: ./candi.sh -j 8 --packages="dealii" *Building dealii v9.6.1* -- This is CMake 3.31.3 -- ...