Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Does not compile for macOS 12.2 #57

Open
mlaves opened this issue Feb 9, 2022 · 2 comments
Open

Does not compile for macOS 12.2 #57

mlaves opened this issue Feb 9, 2022 · 2 comments

Comments

@mlaves
Copy link

mlaves commented Feb 9, 2022

RDM does not compile for current versions of macOS. I created a pull request to fix that: #51

@Ritbit
Copy link

Ritbit commented Aug 9, 2022

It does but you have to adapt a 2 files (as mentioned by @mlaves )

  • Makefile, line 10, change ARCH_FLAGS into
    ARCH_FLAGS=-arch x86_64 -arch arm64

  • utils.h, add these at the top:

#import <CoreGraphics/CGDirectDisplay.h>
#import <CoreGraphics/CGDisplayConfiguration.h>

@cjthompson
Copy link

It does but you have to adapt a 2 files (as mentioned by @mlaves )

  • Makefile, line 10, change ARCH_FLAGS into
    ARCH_FLAGS=-arch x86_64 -arch arm64
  • utils.h, add these at the top:
#import <CoreGraphics/CGDirectDisplay.h>
#import <CoreGraphics/CGDisplayConfiguration.h>

I had to use ARCH_FLAGS=-arch arm64 on my 2020 M1 mac, but then it built.

I did

make
make RDM.app
mv RDM.app /Application/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants