-
Notifications
You must be signed in to change notification settings - Fork 82
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
Drishti with Xcode 10.2 #752
Comments
Drishti compiles fine for me. Drishti version:
Xcode version:
CMake version:
Configure command:
Build command:
|
You can also check to make sure the submodule w/ the config is up to date (for the latest config) in case you have an older clone:
Building w/ a new clone will also work:
Please post a full build log if the above hints don't help. |
I am trying a rebuild now. One difference is that my "xcodebuild -version" returns "Xcode 10.2.1". If this also fails then I will do the submodule update command. I'll report back with the results. Thank you!! |
Initial rebuild failed; here are the full log records: https://gist.github.com/GORGES/6445ac66b90faa9b9544acb845143f8a Will try doing the submodule update and then try again. PS: Will also update cmake using brew. |
I don't see any errors. |
Aargh - there must be a limit on the GIST buffer. Sorry I should have checked after pasting. Here's the remainder, and thank you for checking! https://gist.github.com/GORGES/33117de703ca019c87b3438a3e2571b1 |
Okay, I see the problem with ACF now, but the log is still not full. What ACF version it was? Compare with this log:
|
ruslo, I am trying to figure out which ACF version I am using, but the source is in the bowels of hunter. I pull up the directory (/Users/mclark/.hunter/_Base/f58bcf2/0c36441/a9fd39e/Build/acf/Source/src/lib/acf/), but don't see an explicit version file. I fully admit that I am not hunter-savvy, so I don't know how to get the ACF version. I did see a reference to an ACF version, but it is an internal version number: ./_builds/ios/_3rdParty/Hunter/config-id/config.cmake:hunter_config(acf VERSION 75cabfb9dd786a4264be27758a73921b84c550c3 CMAKE_ARGS "ACF_BUILD_TESTS=OFF" "ACF_BUILD_EXAMPLES=OFF" "ACF_SERIALIZE_WITH_CVMATIO=OFF" "ACF_SERIALIZE_WITH_CEREAL=ON" "ACF_BUILD_OGLES_GPGPU=ON" "ACF_KEEPS_SOURCES=1" GIT_SUBMODULE_DIR "/Users/mclark/workspace/drishti/_builds/ios/_3rdParty/Hunter/git-archives") |
It seems to pull the ACF version from a hunter variables: |
Found the ACF version in the Drishti source code: |
My point was that the logs were not full.
Your version doesn't match the version from CI logs:
I guess that's because you haven't updated submodules. |
Hmm - I did run this command: "git submodule update --init --recursive" and then tried building again, but it failed. I will next try your "git clone --recursive https://github.com/elucideye/drishti.git" and start from scratch. |
I started with a fresh clone ("git clone --recursive https://github.com/elucideye/drishti.git") and ran into the same error. Here are the logs: I suspect the issue is in Xcode 10.2.1, since that seems to be the only significance difference between your setup and mine. Question: should I override the ACF version that is specified in Drishti and try again? |
That won't help with this issue as the acf code hasn't been updated for this compiler. I don't have an Xcode 10.2.1 system to investigate this. It requires an OS update to macOS Mojave, which I can't do right now. The best short term workaround will be to install an older Xcode release for now. |
At least the ACF version now matches version from CI.
I can't run the test with Xcode 10.2 at this moment; I have to upgrade my hardware or setup Travis CI with new Xcode image. |
Thanks again, Ruslo. I may try to revert to an earlier Xcode and try again. Let me know about appropriate Github issue protocol - is this issue resolved or should it be kept open until Drishti/ACF are compatible with the current MacOS toolset? |
We will move to the Xcode 10.2 in the future anyway, so I guess it's okay to keep it open. I will rename the issue. |
I've created an issue for the core ACF problem here elucideye/acf#106. We can leave both open. |
@headupinclouds The experiment also support the above reports. |
Drishti fails to compile with MacOS 10.14 SDK. The error message is deep in the acf/NEON code, and says:
error: argument to '__builtin_ia32_vec_set_v8hi' must be a constant integer
I tried with many different MacOS toolchains, including xcode, gcc, xcode-10-14-cxx14, xcode-10-14.
I can supply a full log report if needed, but this problem should be easily repeatable.
The text was updated successfully, but these errors were encountered: