View Single Post
Old 10-25-2011, 05:27 AM   #21
olilarkin
Human being with feelings
 
olilarkin's Avatar
 
Join Date: Apr 2009
Location: York, UK
Posts: 758
Default

thanks, i got it working.

i noticed the -g for debugging symbols, which was missing in my debug build. When I added that the resources started working, but in release it still didn't work. So i thought it's probably to do with symbol visibility. I modified my IPlug_include_in_plugin_hdr.h to define the EXPORT macro differently for Mingw and this seems to have done the trick.

this is probably not an issue with the stock IPlug, but some change I did in the past to my repo meant it was needed

Code:
  #ifdef __MINGW32__
    #define EXPORT __attribute__ ((visibility("default")))
  #else
    #define EXPORT __declspec(dllexport)
  #endif
...
__________________
pMix | Endless Series V3 Shepard Tone Plugin | WDL-OL Plugin dev framework
Available for consultancy/tuition via Skype (help with IPlug/JUCE/MaxMSP)
olilarkin is online now   Reply With Quote