Hi Wakil,

so command line tools are installed, did you check?

CMake tells you the error: 

 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

On Friday, May 11, 2018 at 10:53:32 PM UTC+2, Wakil Sarfaraz wrote:
>
> Hi Denis,
> Xcode is installed on my machine. It is just that I deleted the dmg files 
> associated to previous versions of deal.ii and cmake, which was perfectly 
> working.
> When I downloaded the new versions today, it returned these errors.
>
> Best,
> Wakil 
>
> On Friday, May 11, 2018 at 9:04:17 PM UTC+1, Denis Davydov wrote:
>>
>> Hi,
>>
>> Make sure you have XCode installed as well as command line 
>> tools: xcode-select --install
>>
>> Regards,
>> Denis.
>>
>> On Friday, May 11, 2018 at 7:36:48 PM UTC+2, Wakil Sarfaraz wrote:
>>>
>>> Hi all,
>>> I have been away from deal.ii for almost two years.
>>> I have come back and wanted to install the most updated version which is 
>>> dealii-8.5.0-brew.dmg 
>>> <https://github.com/dealii/dealii/releases/download/v8.5.0/dealii-8.5.0-brew.dmg>
>>> When I attempted to cmake the step-1 of the examples, it returns error 
>>> containing the following texts:
>>>
>>> -- 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 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 the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to