View Single Post
Old 12-06-2017, 11:12 AM   #3
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,239
Default

Quote:
Originally Posted by Xenakios View Post
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
Thanks Xen, all works fine now, old fart memory was the problem, don't know if there's a code fix for that
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
Geoff Waddington is offline   Reply With Quote