Changes between Version 5 and Version 6 of MacNotes


Ignore:
Timestamp:
Apr 26, 2019 2:18:36 PM (18 months ago)
Author:
tirons
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacNotes

    v5 v6  
    22
    33== Using XCode ==
    4 If you want to use the standard XCode build tools, Lemma will compile as long as you do not attempt to use OpenMP. This is due to OpenMP not being supported by Apple's Clang compiler. If you elect to go this route, simply install XCode, and then within XCode make sure you have the command line tools installed.
     4If you want to use the standard XCode build tools, Lemma will compile as long as you do not attempt to use OpenMP. This is due to OpenMP not being included in Apple's Clang compiler. If you elect to go this route, simply install XCode, and then within XCode make sure you have the command line tools installed. Some people have reported being able to build CMake projects using an external `libomp` https://iscinumpy.gitlab.io/post/omp-on-high-sierra/ , however, in High Sierra we have have not been able to accomplish this due to CMake still not linking correctly.
    55
    6 == Using !HomeBrew ==
     6== Using !HomeBrew ==
     7The current recommended route is to install a compiler which includes OpenMP support. The easiest way to do this is to install a current llvm/clang toolchain  using !HomeBrew.
     8 
    79{{{
    810#!div style="font-size: 100%"
     
    1820  brew install cmake
    1921  }}}
     22}}}
     23
     24If you see errors like this
     25{{{
     26/usr/local/opt/llvm/bin/../include/c++/v1/stdlib.h:94:15: fatal error: 'stdlib.h' file not found
     27}}}
     28
     29It is due to changes in where XCode is placing system libraries. This can be easily remedied.
     30{{{
     31open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
    2032}}}
    2133