-
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
Make_compile.py not working properly when adding additional option in configuration #2
Comments
I tested in my machine (Apple M1). I found that, as expected. ARM64 successed but x86_64 fails. Message shows: |
I see. Thank you for your information. I don't have much experience compiling these libraries (especially cross-platform), so I am looking for some alternative approach if possible. I wonder if I build x86_64 FFmpeg on my mac and receive a compiled arm64 FFmpeg on another M1 mac, is it possible to combine using |
I think works, but you need to make some modifications to the script. |
So I tried doing the approach I mentioned, asking my colleague to build one and copy the folder
I assume there is something wrong when trying to combine two files built by two different Mac..? |
Did you build those two version in the same place? The reference library path may contains absolute path. So if you and your colleague built in home dir, it may cause proble. By the way, you can use |
I forgot to mention that my colleague did change code a little bit so it is not absolute path dependent. Here is the result using
It should now only redirect to relative path and should not be the problem (Unless I miss something) |
Could you launch the program without debug? Maybe it's releated to the following issue: |
Ah, I see now that this error only occurs in Debug mode (usually I run my code in debug mode by default). At the very least, I can run it on release mode (or debug mode but I need to set the architecture to just So, I guess using two built file kind of works, but we still don't have a way to compile it on one device then. |
I seems like the previous problem is related to apple LLDB.
You can also test ARM64 version on Apple Silicon machine. As I mentioned, compiling it on a device requires extra work (Maybe I will try in the further). But lucky if you don't upgrade ffmepg, you don't need to compile again. |
First of all, thank you for your help. It really helps the project I have been working on. Running it as is, works wonderfully.
However, when I add
--enable-libvpx
option inmake_compile.py
the overall programs failed.Apparently, one of the problem is during
arm64
building (my Mac is x86_64).So I guess there is a library required that does not supports 'arm64'.
However, the strange thing is that
install_x86_64
folder which build successfully does not havevpx
files at all, which makes me suspect that even thex86_64
version also somehow not building completely finish.Do you have any idea what went wrong here?
The text was updated successfully, but these errors were encountered: