Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic RFDuino (Read 4757 times)
Thommy
Newbies
*
Offline


Posts: 2
Joined: Jun 10th, 2015
RFDuino
Jun 10th, 2015 at 11:30am
Print Post  
Hi,

i'm trying VM to get work with RFDuino in VisualStudio 2010.

I have installed the RFDuino Board Package via the Board Manager.
When i create a new Sketch i get a bunch of IntelliSense-Errrors and i am not able to compile it.

The error i get is :

Compiling 'xy' for 'RFduino'
Error running platform build action hooks.prebuild
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
   bei processing.app.SketchCompilerArduino.execAsynchronously(List`1 commandList)
   bei processing.app.SketchCompilerArduino.runRecipe(String recipe)
   bei processing.app.SketchCompilerArduino.runActions(String recipeClass)
Binary sketch size: 2.560 bytes (used 2% of a 131.072 byte maximum) (0,28 secs)
Error running platform build action hooks.postbuild
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
   bei processing.app.SketchCompilerArduino.execAsynchronously(List`1 commandList)
   bei processing.app.SketchCompilerArduino.runRecipe(String recipe)
   bei processing.app.SketchCompilerArduino.runActions(String recipeClass)


What can i do?

Thanks for help
Thommy
  
Back to top
 
IP Logged
 
Thommy
Newbies
*
Offline


Posts: 2
Joined: Jun 10th, 2015
Re: RFDuino
Reply #1 - Jul 13th, 2015 at 11:31am
Print Post  
Hi,

after a couple of weeks where i didn't had the time for that, i found the solution for the compiler errors.

In the platform.txt file there are entries for prebuild hook and postbuild hook with empty parameters.

I just commented them out and now it works fine.

Greetings
Thommy
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: RFDuino
Reply #2 - Jul 13th, 2015 at 10:08pm
Print Post  
Thanks for the update and I am sorry your original question was missed. Not sure how that happened!

I will plug that in the next release.

Thanks again!!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint