Closed amirhnajafiz closed 2 years ago
Hi @amirhnajafiz !
building for macOS-x86_64 but attempting to link with file built for macOS-arm64
It looks like that you are trying to crosscompile the program for Intel Mac but the installed libraries are for M1 Mac. Could you check your GOARCH env variable and not running in Rosetta?
Hello there. I'm using a MacBook with Apple M1 chip and I successfully installed the following frameworks and libraries:
But when I wanted to load my dependencies in my program, I got the following errors for vpx and x264:
x264
VPX
I need this library to create my Video Encoder params in the following code:
I looked for the solutions all over the internet but none of them were helpful. How can I fix this problem??