Open mkazanov opened 2 months ago
Hey there,
Sorry for not getting back to you sooner.
Can you tell me what version of Clang/Xcode you are using?
For Clang, you can usually run clang --version
in the terminal.
From the looks of it, the version used is older than llvm-clang-17, which is the minimum version we support. Note that Apple Clang (the one XCode is shipped with) usually has a different version number that translates to some llvm-clang version.
Hey there,
Sorry for not getting back to you sooner.
Can you tell me what version of Clang/Xcode you are using? For Clang, you can usually run
clang --version
in the terminal.From the looks of it, the version used is older than llvm-clang-17, which is the minimum version we support. Note that Apple Clang (the one XCode is shipped with) usually has a different version number that translates to some llvm-clang version.
% clang --version
Homebrew clang version 18.1.8
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
% clang --version Homebrew clang version 18.1.8 Target: arm64-apple-darwin23.1.0 Thread model: posix InstalledDir: /opt/homebrew/opt/llvm/bin
This version should work. As for M1 (arm64) support, I'm currently updating our CI to use macos-14
runners, which use M1 processors.
But Homebrew's clang is probably not the one XCode uses. XCode is shipped with some llvm/clang version, and this one is used by default.
Can you find out the XCode version?
For using Homebrew's clang in XCode I found this: https://forums.developer.apple.com/forums/thread/737718 I'll also try this on my old MacBook, in case the steps are not exhaustive.
Can you find out the XCode version?
XCode version 15.2
According to https://en.wikipedia.org/wiki/Xcode#Xcode_15.0_-_(since_visionOS_support)_2, XCode 16.0 would be the first version that ships with llvm 17.
In prior versions, XCode must be convinced to use Homebrew's llvm-clang.
I haven't managed to achieve that yet on my mac. But I never used XCode, and I apparently configured something such that XCode won't even work with Hello World.
Platform
/path/to/compiler --version
here -->Question
I have installed seqan3 by cloning repository, then runing
cmake ..
frombuild
directory. Then I runcmake install
and all headers have been copied to/usr/local/include/seqan3
directory. I've also added/usr/local/include/seqan3/**
to theHeader Search Paths
of my Xcode project.Then I have added two
#include
lines to simple hello world program in Xcode:When I tried to build, it failed with a bunch of issues (below) in
chunk_view.hpp
file, etc.