-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issue with ITK on Apple Silicon #1619
Comments
Have you already experienced something like that @kerautret ? |
yes I see it on the GitHub Actions when trying to activate ITK on MacOS build, it looks like that the include of cmath.h from Xcode build system find first the math.h of /usr/local/include before the one of Xcode Tools chain. |
Same problem here trying to activate ITK and macos GitHub Actions: (with a cmake small try fix) |
@dcoeurjo have you tried to use the the CommandLineTools SDK instead the XCode SDK, by using: |
THanks for the tip, I'm not super fan of changing the SDK globally.. (I wasn't expecting that the command line has a different sdk than Xcode.. weird..) |
I am agree not ideal, for instance I detected that Unreal Engine was no more working by using this SDK! 😱 |
@dcoeurjo I tested a simple ITK helloworld project and it fails from the same errors so the problem is not related to DGtal itself but more from brew/ITK/osXSDK. I try to ask it on the ITK dev forum if they get a good workaround to fix it :). (since just test using #include and no errors). |
When build DGtal on a M1, there is no problem except when setting
-DWITH_ITK=true
which produces:Ping @kerautret
The text was updated successfully, but these errors were encountered: