Menu

#36 Building prodatum on modern Mac OS machines

2.1
open
nobody
None
2024-12-14
2022-05-16
Anonymous
No

Mac OS Monterey
Proteus 2000 with Composer
Prodatum 2.0.1
FLTK 1.4

I'm late to the party but thanks for all the work on this editor. It's quite nice.

I have just built the Prodatum source on Mac OS Monterey, with a static fltk lib but dynamic portmidi. I built fltk 1.4 from scratch, and the resultant Prodatum now scales using the command+ and command- keys which is great for 5k displays and/or bad eyes. (There is some scaling weirdness if trying to scale excessively, but scaling to ~150% works fine and is a big eyesight improvement.)

Haven't done much testing yet but it appears to function ok. If there is interest I can try to upload a binary.

I'm not a Mac developer but managed like this:

  1. Download/update the usual Mac xcode dev tools, and cmake.
  2. download portmidi using Homebrew
  3. download and build fltk from scratch (easy). Install.
  4. build GUI with fltk fluid command: "fluid -c prodatum.fl" generates the ui.C and ui.H files
  5. update CMakeLists to point at the correct fltk and portmidi lib files. do "cmake CMakeLists" to make the makefiles
  6. Maybe step 5 didn't go quite right, but I hacked "CMakeFiles/prodatum.dir/link.txt" to add the /usr/local/lib/libfltk.a and /usr/local/lib/libportmidi.dylib libs. YMMV. Also I spent 5 min looking at how to make libportmidi static and gave up.
  7. seemed there were a few lib func arg discrepencies between the ui.C that fluid 1.4 created and the fltk 1.4 libs. I hacked a few FL::copy() calls.
  8. Run make

I did try to run the executable built on Monterey on Big sur, and got a libc++ dependency issue. My solution was just to upgrade the Mac to Monterey.

Good luck!

Discussion

  • Anonymous

    Anonymous - 2022-05-17

    Very cool. Maybe you want to update the git repo with the updated makefile and also add the generated fltk ui files (I was stupid to never include the generated files in the repository)?

    I would also like to upload the binaries! I dont own a current mac and so I cant create binaries for current os'es.

     
  • Anonymous

    Anonymous - 2022-10-02

    hey, Prodatum doesn't seem to work on Monterey anymore, I've used it for years and would love to be able to continue doing so, if there's any chance you could upload this version I would be forever grateful, thank you

     
    • Anonymous

      Anonymous - 2023-05-03

      maybe use crossover and run the windows version?

       
  • Hartmut  Hillmann

    I tried to use the Windows version with no success, device does not show up.
    MacMini M1, VMWare Fusion, Windows 11, several MIDI Interfaces with drivers intalled.
    Did anyone successfully use it in a virtual system?

     
    • Hartmut  Hillmann

      Windows 11 running in VMWare Fusion on M1 MacMini works now. Prodatum version 2.1.2

       
  • Hartmut  Hillmann

    OSX Intel version does not start up on my M1 MacBook, nor M1 MacMini, Rosetta installed.

     
  • Hartmut  Hillmann

    I'm running Prodatum just at this moment on my M1 MacBook and already saved all user presets. What I did: Downloaded the prodatum-macos-x64 executable from haxorhax/prodatum github page: https://github.com/.../download/v2.1.2/prodatum-macos-x64
    The page says:
    MacOS
    Update 12/30/22: I was able to verify the github agent build works on Big Sur 11.x and Monterey 12.x OS - with a couple tweaks:
    The prodatum-macos-x64 executable needs the .app extension added
    Moved the executable to the Applications folder
    If clicking gives you an error after that:
    The security features may prevent the app from running (unknown company, etc.), so you will need to give the executable permission to run.
    Run the following line from a terminal: sudo chmod -R 755 /Applications/prodatum-macos-x64.app
    Then System Preferences -> Security & Privacy -> General tab look for a Allow button specific for an unknown application (s/b prodatum-macos-x64.app).
    NOTE: Apple M1/M2 chips are not supported by Github currently, with no ETA. The builds in this release are specific to Intel Macs only.
    After adding the .app extension and running the above Terminal command, the app runs on my M1 MacMini and on my M1 MacBook Pro in a foder called:
    "Prodatum 2.1.2 OSX"
    inside the Application folder.
    The "README_v2.0.1.txt" coming with the IntelMac version says:
    If the directory "prodatum-config" exists in the same directory where
    prodatum was launched from (like in this zip file), prodatum will use that
    directory to save it's configuration and data.
    This is called "portable", as you can move the directory from computer to
    computer, without losing your settings and ROM data.
    My "prodatum-config" folder in my "Prodatum 2.1.2 OSX" application folder stays empty, so this applies perhaps to the 2.0.1 version only...

     
    • Anonymous

      Anonymous - 2024-12-14

      That link dont work

       

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB