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
Locked Topic Unable to create new sketch - SOLVED - Install C++ for VS 2015 (Read 5956 times)
Thoro87
Newbies
*
Offline


Posts: 2
Joined: Sep 12th, 2015
Unable to create new sketch - SOLVED - Install C++ for VS 2015
Sep 12th, 2015 at 9:27am
 
Hi there,

I am having kind of a hard time setting up VisualMicro.
Whenever I try to create a new ArduinoProject I get the message: 

"Unable to create new sketch

Falscher Parameter. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"

My setup:
- Visual Studio 2015 Community
- Arduino 1.6.5
- VisualMicro 1.1509.9
- Hardware: Arduino UNO Rev. 3

I worked my way through the getting-started page and did some troubleshooting. In the visual micro explorer I can see 30 libraries installed (and UNO is there as well).
I can not open an existing sketch that works in Arduino IDE either. It displays just a blank solution :/

Any ideas on what else I might try?
Is the problem with the community version of VS?

EDIT: I can open the examples. But I am unable to upload them, the buttons are greyed out. But the Arduino is recognized: Visual Micro -> Serial Port - > COM4 (Arduino Uno)
« Last Edit: Sep 14th, 2015 at 10:51am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12167
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to create new sketch
Reply #1 - Sep 12th, 2015 at 10:28am
 
Hi,

Please see the first point on the FAQ. Vs 2015 does not install C++ as standard, you have to select it in the installer options.
  
Back to top
IP Logged
 
Thoro87
Newbies
*
Offline


Posts: 2
Joined: Sep 12th, 2015
Re: Unable to create new sketch
Reply #2 - Sep 12th, 2015 at 1:19pm
 
Oh.. erm... yes. 
I really thought this was already on my machine.

Anyway, that fixed it for me. Thanks a lot!  Smiley

Have a nice weekend.
  
Back to top
 
IP Logged
 
risitt
Newbies
*
Offline


Posts: 1
Joined: Sep 14th, 2015
Re: Unable to create new sketch
Reply #3 - Sep 14th, 2015 at 2:36am
 
Hmm, the FAQ doesn't appear to say anything about this issue. The first item in the FAQ is about a path issue that seems unrelated. On the other hand, there are notices about this issue plastered all over the download pages. And somehow I was blind to them all  Roll Eyes

To clarify, you appear to need to install the "Common Tools for Visual C++ 2015" item. As far as I can tell, the "Microsoft Foundation Classes for C++" and "Windows XP Support for C++" are not required. Can someone confirm that those other two components are not needed?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12167
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to create new sketch
Reply #4 - Sep 14th, 2015 at 10:35am
 
Unfortunately the FAQ was overwritten yesterday with an older version! It has now been replaced.

If you have installed C++ and can create a new project then your install is correct.

Thanks
« Last Edit: Sep 14th, 2015 at 10:50am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint