-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:38 (PROJECT):
The CMAKE_C_COMPILER:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Check for working CXX compiler: /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx
-- Check for working CXX compiler: /Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -- broken
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.11/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a4024/fast"
/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_a4024.dir/build.make CMakeFiles/cmTC_a4024.dir/build
Building CXX object CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o
/Applications/deal.II-8.5-brew.app/Contents/Resources/brew/bin/mpicxx -o CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o -c /Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
make[1]: *** [CMakeFiles/cmTC_a4024.dir/testCXXCompiler.cxx.o] Illegal instruction: 4
make: *** [cmTC_a4024/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:38 (PROJECT)
-- Configuring incomplete, errors occurred!
See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeOutput.log".
See also "/Applications/deal.II-8.5-brew.app/Contents/Resources/examples/step-1/CMakeFiles/CMakeError.log".
localhost:step-1 wakilsarfaraz$
I will greatly appreciate your help on this.
Regards,
The CMAKE_C_COMPILER:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
is not a full path to an existing compiler tool.so see whether you have this or not. Perhaps something changes in between macOS versions, I won't be surprized. The dmg you download are built with specific version (probably Sierra or High Sierra) using Apple's clang. So if location of compiler changes between those versions, then there is a problem.
Regards,
Denis
Wakils-MBP:~ wakilsarfaraz$ sudo xcode-select --install
Password:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Wakils-MBP:~ wakilsarfaraz$
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/KTR-9nGYemg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
--