-
Notifications
You must be signed in to change notification settings - Fork 456
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
MacOSX M1/M2 support #1605
Comments
I have the same problem with compilation on Apple SoC (M2). I will appreciate any help. |
I will try this weekend if I have some time. Else weekend after I will have time to try |
Ok did make a bit of progress. I have Qt6 installed. Also, all additional packages are installed using homebrew.
I am not worrying about SDRplay for now. Will look at this later. I can run cmake with the following arguments
It did produce this output. Can any developer help me out if the above arguments are correct? I like to get it close as possible to actual release builds.
|
Build instructions are here: https://github.com/f4exb/sdrangel/wiki/Compile-in-MacOS I wouldn't recommend using Qt 6, yet. None of the maps will work, amongst other things. |
Would it be possible to create a homebrew bottle package? so it can be easily installed with Also, I am reading the above link you provided. I am assuming the NASM step is not applicable to MacOSX? I see the executables are for x86 MacOSX, so this will not run on M1/M2, not to mention that it will produce Intel code.
On the other end
|
I managed to pass successfully the step with But I've stuck with and with Any ideas to bypass issues? |
cmake -DENABLE_FUNCUBE=OFF maybe |
Unfortunately, it was OFF. Full
|
I'm trying to bypass this issue: Is there possibility to bypass compilation of the specific plug-in? modatv in this case? |
cmake -DENABLE_CHANNELTX_MODATV=OFF |
Many thanks! Finally I was able to compile the app for M2 without any errors. But one more step is needed. Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page |
FWIW the following steps seemed to work for me (at least sdrangel starts and few things work)
|
It's working! Perfect. Many thanks. |
@tko how did you work around the problem with private classes in Qt? I'm getting: |
@haplm I didn't do anything but add the dependency in the cask. The header seems to be where one would expect it to be
🤷 |
Right, that was a problem with macports also being installed (because I have used that to compile sdrangel). I have happily uninstalled them, which solved this problem. Unfortunately now it is crashing without any useful hint like this:
I need to figure out what this is |
Look back up in the output to find the actual error. To make it simpler, don't use -j option. |
When one creates homebrew formula, it invokes the build like this:
I can start adding compiler arguments after
|
The full log for the failed build step should be in the last file in That said I'm not sure this issue is the best place to continue as the issues you seem to facing are more around homebrew and general compilation problems, and with your earlier problems due to macports a lot of it might be just because your system is very different from most. |
Thank you. I have solved the cryptic errors by turning off parallelisation of the build by uncommenting This uncovered that the issues is caused by zlib
I have tried to disable building it I agree that there might be an issue with my setup because of the brief period of having macports alongside homebrew, although I have removed macports thoroughly. |
using the v7.15.0 release and the home-brew instructions above, I get this
|
This issue is going to be closed due to inactivity |
Hello
I am just a new user of SDRAngel. Just downloaded the latest "heat map" version and realized it is only x64 version. After installing it should work through an emulator. But when I try to start it I get this message "You can’t open the application “SDRangel” because it may be damaged or incomplete."
I just cloned source and will take a look at it. A quick cmake run produces error
I will take a stab at DetectArchitecture.cmake and add a fix. Any other setup/build pointers welcome.
73,
The text was updated successfully, but these errors were encountered: