avibrazil / RDM

Easily set Mac Retina display to higher unsupported resolutions
4.13k stars 352 forks source link

Does not compile for macOS 12.2 #57

Open mlaves opened 2 years ago

mlaves commented 2 years ago

RDM does not compile for current versions of macOS. I created a pull request to fix that: https://github.com/avibrazil/RDM/pull/51

Ritbit commented 2 years ago

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

cjthompson commented 1 year ago

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/