[Getdp] compile error of getdp with Xcode 8.0 (mac)

Joseph Frippiat joseph_frippiat at voo.be
Tue Oct 4 18:47:23 CEST 2016


Hello Sebastian,

I can compile petsc and gmsh without problem but not getdp...

I am using OS X El Capitan.

To install getd, I use "brew install getdp --HEAD".  Is this correct ?

"xcode-select -p" returns
/Applications/Xcode.app/Contents/Developer

"gcc --version" returns
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

How can I check that I have the correct commandline-tools ?

What is clang_rt.osx ?

Joseph

Le 04/10/16 à 13:21, Sebastian a écrit :
> Dear Joseph,
>
> I just successfully compiled GetDP with Xcode8 on macOS Sierra, so I would say it's supposed to work. Do you have the correct commandline-utils? Did you make sure that xcode-select is really using the new Xcode8 (what says "xcode-select -p")? If both answers are yes, then I guess you need to update something in your dependency tree (petsc slepc gmsh ...).
>
> Sebastian
>
>> Am 04.10.2016 um 12:00 schrieb getdp-request at ace20.montefiore.ulg.ac.be:
>>
>> Message: 1
>> Date: Mon, 3 Oct 2016 14:09:46 +0200
>> From: Joseph Frippiat <joseph_frippiat at voo.be>
>> To: getdp at onelab.info
>> Subject: [Getdp] compile error of getdp with Xcode 8.0 (mac)
>> Message-ID: <c0f23408-4a96-c426-b121-1c94f8c5290b at voo.be>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> Hello,
>>
>> when I try to install getdp on my macbook pro with homebrew, after
>> upgrading Xcode to version 8.0, I get this error :
>>
>> ld: library not found for -lclang_rt.osx
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> make[2]: *** [getdp] Error 1
>> make[1]: *** [CMakeFiles/getdp.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> It worked with Xcode 7.3.1 .
>>
>> What could I do to solve this issue ?
>>
>> Joseph
>




More information about the getdp mailing list