View Full Version : Looking for open source examples using WDL and IPlug
Guod3
02-19-2011, 11:18 PM
Yes, I'm making progress but its a little slow for me without much in the way of practical examples and detailed doc. I've doxygen'd WDL and that helps, but I'd really benefit from seeing open source plugs using this framework. Anyone know of examples of what I'm asking about?
olilarkin
02-20-2011, 12:20 PM
a few people have examples in their git repositories.
http://forum.cockos.com/showthread.php?t=63555&page=1
i have some very outdated stuff here:
http://www.olilarkin.co.uk/temp/oliplug-03-03-2010.zip
oli
Guod3
02-20-2011, 02:46 PM
Oli, thanks so much, just a quick one on compiling your examples:
The plug builds fine (IPlugGuiDemo, in this case) but in REAPER it produces an exception "resource found".
(I had the same symptoms when I copied the provided IPlugExample to another folder and renamed and replaced the files in the proj.
I'd left IPlugExample.rc behind and in this case was fixed by copying and renaming said file and including it in my project. I thought that *.rc was compiler output and did not need to be copied.)
How to resolve in this case?
The exception would indicate that an image resource is missing, i.e. pGraphics->LoadIBitmap() can't find the PNG or JPEG file you are trying to load.
Guod3
02-20-2011, 04:28 PM
Thanks Tale, the resource.h is there, the /img with the referenced bitmaps is there. There is no *.rc file in the project. I'm a bit unfamiliar with the resource compiling stuff(?).
olilarkin
02-20-2011, 04:40 PM
You need the .rc on windows. Sorry if it's missing from the folder. You should be able to create it with a text editor, or just copy the one from iplugexample
Guod3
02-20-2011, 08:25 PM
oh right cool, I'll read up on rc files for my own curiosity.
There are some good examples in Tale's repo - under Example/ there's an instrument and a couple of effects.
olilarkin
02-21-2011, 03:01 AM
here's the missing .rc
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.