Bug report #17216

llvm-5 compiler selection fails on OS X

Added by David Liontooth over 6 years ago. Updated about 5 years ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:OS X 10.12.6 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:25115

Description

On an up-to-date OS X Sierra, using QGIS git master and MacPorts' llvm-5.0 , I set the compilers:

export CC=/opt/local/libexec/llvm-5.0/bin/clang
export CXX=/opt/local/libexec/llvm-5.0/bin/clang++

Configure is happy -- up to a point:

-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /opt/local/libexec/llvm-5.0/bin/clang
-- Check for working C compiler: /opt/local/libexec/llvm-5.0/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/local/libexec/llvm-5.0/bin/clang++
-- Check for working CXX compiler: /opt/local/libexec/llvm-5.0/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

But then complains:

CMake Error in src/core/CMakeLists.txt:
No known features for CXX compiler
"Clang"
version 5.0.0.

What am I doing wrong?

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF