-
Notifications
You must be signed in to change notification settings - Fork 11
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
macOS 11.5.2 Symbol not found: _NSLocalizedDescriptionKey #3
Comments
Emmm, I don't have a mac, so I don't know what it means. I guess there might be some errors in the CMakeList.txt since it changed a lot during the times. Another reason might be the python lib linking is broken just like ImportError: DLL load failed while importing _rife_ncnn_vulkan_wrapper: The specified module could not be found. or What does "Symbol not found / Expected in: flat namespace" actually mean?. If that is the case, then a static link on your device might help. Change CMakeList.txt's python part on the tail like rife-ncnn-vulkan-python/src/CMakeLists.txt Lines 296 to 298 in 6c84631
Additionally, could you check:
|
After having a look at the CMakaList.txt i think there is something commented out that should be there ..
why is this commented out ?? It adds Foundation to the RIFE_LINK_LIBRARIES but it is commented out ?? I do not have vulkan and SWIG installed and i would be happy to avoid it. Maybe you cam change it and let actions do the work. |
I think this line is for compiling the original CLI binary only, not for the linked library we're trying to build. @ArchieMeng's confirmation is required here, though. P.S. enclose your multi-line code block with ```s instead of single `s. |
OK but Foundation framework is needed for osx. Maybe i will do a fork. |
It'll be great if you can figure that out. Neither I or @ArchieMeng has a macOS system nor much macOS development experiences. |
Just the same as what @k4yt3x said, the commented line was used for building original binary executable. For Foundation libs, the CMakeList.txt part of this rife-ncnn-vulkan-python/rife_ncnn_vulkan_python/CMakeLists.txt Lines 225 to 245 in 8903d89
is enabled in the release action with "-DUSE_STATIC_MOLTENVK=ON" in rife-ncnn-vulkan-python/.github/workflows/release.yml Lines 192 to 203 in 8903d89
So the MacOS version should have already been linked with Foundation libs. PS: @k4yt3x @u3dreal , I suddenly remembered that I had a very old Macbook air. Maybe I can reopen it to try the testing, but don't expect too much on this, I am not familiar with Mac. You'd better on your own now, because our environment might differ a lot and I don't have much spare time on this recently. |
I forked it ... I'll have a look when i have time |
Hmm strange i'm not able to compile nihui version of rife on BigSur. Getting segfaults .. |
That's fine, because environment issues are common. |
I followed the release.yaml in detail but no luck |
Hello and thank you for this nice port to python !
when i try to execute rife_ncnn_vulkan.py ( with pics added to ../images folder ) .. latest release download https://github.com/media2x/rife-ncnn-vulkan-python/releases/tag/20210520
I get the following error.
this usually means it is not linked against Foundation Framework. Any idea ?
Thanks alot !
The text was updated successfully, but these errors were encountered: