View Single Post
Old 12-06-2017, 09:30 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,454
Default

You have to run the PHP script somewhere in the WDL sources to turn the Windows resource files into source code for building on Mac Os. That should produce a header file you must include when building for Mac Os. There was something else that needed to be done too in the #ifdef block but I don't remember exactly. The Reaper extension SDK example should have the correct way to write that...

edit : code, which maybe has to be put after the plugin entry point function.
Code:
#ifndef _WIN32 // MAC resources
#include "../../WDL/swell/swell-dlggen.h"
#include "res.rc_mac_dlg"
#undef BEGIN
#undef END
#include "../../WDL/swell/swell-menugen.h"
#include "res.rc_mac_menu"
#endif
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/

Last edited by Xenakios; 12-06-2017 at 10:29 AM.
Xenakios is offline   Reply With Quote