IntroJucer RTAS exporter doesn't copy .rsr file

Discuss topics relating to the Introjucer (or Jucer) application

IntroJucer RTAS exporter doesn't copy .rsr file

Postby ckk » Wed Feb 22, 2012 4:05 pm

Hi Jules,

it seems that for the Visual Studio exporters, the IntorJucer generates the post build event in RTASHelpers::prepareExporter() but the msvcPostBuildCommand string in MSVCBuildConfiguration's constructor is passed an empty string.

I'm using todays tip, VS2008, Win7.


Chris
ckk
JUCE UberWeenie
 
Posts: 218
Joined: Thu May 20, 2010 7:43 pm

Re: IntroJucer RTAS exporter doesn't copy .rsr file

Postby jules » Thu Feb 23, 2012 12:12 pm

Thanks - I've had a go at sorting that out now, let me know if it works for you!
User avatar
jules
Fearless Leader
 
Posts: 17189
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: IntroJucer RTAS exporter doesn't copy .rsr file

Postby ckk » Thu Feb 23, 2012 3:00 pm

Hi Jules,

I found two minor issues. The copy path is ".../juce/modules/modules/..." instead of ".../juce/modules/..." and the /FORCE:multiple gets appendend with every save.

The following changes in juce_AudioPluginModule.h did work for me:
Code: Select all
// change at Line 310: (removed "modules/" in getChildFile)
String msvcPathToRTASFolder (exporter.getJucePathFromTargetFolder()
                                             .getChildFile ("juce_audio_plugin_client/RTAS")
                                             .toWindowsStyle() + "\\");

// change at Line 314: (added check for existing option)
if (! exporter.getExtraLinkerFlags().toString().contains("/FORCE:multiple"))
  exporter.getExtraLinkerFlags() = exporter.getExtraLinkerFlags().toString() + " /FORCE:multiple";



Chris
ckk
JUCE UberWeenie
 
Posts: 218
Joined: Thu May 20, 2010 7:43 pm

Re: IntroJucer RTAS exporter doesn't copy .rsr file

Postby jules » Thu Feb 23, 2012 3:05 pm

Ah! Thanks again, I'll add those changes!
User avatar
jules
Fearless Leader
 
Posts: 17189
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK


Return to The Introjucer/Jucer

Who is online

Users browsing this forum: No registered users and 1 guest