Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Unable to start program (Read 8141 times)
DaDoo
Newbies
*
Offline



Posts: 6
Unable to start program
Apr 28th, 2015 at 4:38pm
 
Hi everybody!
I'm new on this fantastic softwre Visual Micro!
I tried to start a project from Visual Studio 2013 Ultimate but I retrive this error:
"Unable to start program
D:\Sources\MySample\MySample.exe
Impossible find the specified file"
What's wrong???
Thanx

DaDoo
Back to top
« Last Edit: Apr 28th, 2015 at 9:50pm by DaDoo »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unablee to start program
Reply #1 - Apr 28th, 2015 at 5:17pm
 
Hi,

Thanks for the post.

Please build your project and post the output

Thank you.
Back to top
 
WWW  
IP Logged
 
DaDoo
Newbies
*
Offline



Posts: 6
Re: Unablee to start program
Reply #2 - Apr 28th, 2015 at 5:26pm
 
Visual Micro wrote on Apr 28th, 2015 at 5:17pm:
Hi,

Thanks for the post.

Please build your project and post the output

Thank you.


What I wrote before is the Messagebox output after "Local Windows Debugger" button press. The same thing in Debug and Release.
...
This is the screenshot.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unablee to start program
Reply #3 - Apr 28th, 2015 at 6:08pm
 
Hi,

1)
Please do not click the start button. Please use the menu to click "Build>Build Solution". This will build and an output tool window at the bottom of the screen will give you interesting information. This is the output I requested.

2)
However in your last example I see you have not adhered to a few rules that apply to all Arduino sketch projects. The name of the project and [master].ino and the folder that contains them must be the same. The arduino ide will only recognise a sketch if the it contains a .ino file in a folder of the same name.

As you are a new user I suggest using Visual Micro to create projects for you. Visual Micro ensures the rules are applied and makes your life easier.
http://www.visualmicro.com/page/User-Guide.aspx?doc=Your-First-Project.html


Thanks
Back to top
« Last Edit: Apr 28th, 2015 at 6:08pm by Visual Micro »  
WWW  
IP Logged
 
DaDoo
Newbies
*
Offline



Posts: 6
Re: Unablee to start program
Reply #4 - Apr 28th, 2015 at 6:26pm
 
Thanx for answer.
It worked for few time, but after certain period it didn't work.
As your request, this is the output and the screenshot of the entire environment. The project was created from Visual Micro and not imported from Arduino.
...

Thanx
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unablee to start program
Reply #5 - Apr 28th, 2015 at 9:25pm
 
Thanks for the info.

In your picture you can see the combo box with the word "Output". Please switch to "Micro Output" after the problem and post the textual contents of the Micro Output

Thanks
Back to top
 
WWW  
IP Logged
 
DaDoo
Newbies
*
Offline



Posts: 6
Re: Unablee to start program
Reply #6 - Apr 28th, 2015 at 9:29pm
 
Visual Micro wrote on Apr 28th, 2015 at 9:25pm:
Thanks for the info.

In your picture you can see the combo box with the word "Output". Please switch to "Micro Output" after the problem and post the textual contents of the Micro Output

Thanks


There is no "Micro Output"...  Shocked
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unablee to start program
Reply #7 - Apr 28th, 2015 at 9:32pm
 
Sorry I meant the "Show output from: Build" combo box and the "Micro Build" output. If there is no Micro Build entry please post a screen shot of the Build combo box dropped down.

Thanks
Back to top
« Last Edit: Apr 28th, 2015 at 9:33pm by Visual Micro »  
WWW  
IP Logged
 
DaDoo
Newbies
*
Offline



Posts: 6
Re: Unablee to start program
Reply #8 - Apr 28th, 2015 at 9:41pm
 
Visual Micro wrote on Apr 28th, 2015 at 9:32pm:
Sorry I meant the "Show output from: Build" combo box and the "Micro Build" output. If there is no Micro Build entry please post a screen shot of the Build combo box dropped down.

Thanks


Thanx for answer.
This is the screenshot, but in the "Micro system trace" there are no informations
...

Where is "Micro build" output?
Back to top
« Last Edit: Apr 28th, 2015 at 9:42pm by DaDoo »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unable to start program
Reply #9 - Apr 28th, 2015 at 10:12pm
 
I can see that Visual Micro is not trying to manage the project. I also reviewed again your screen image of your Ide.

I said earlier that the project name, sketch.ino and folder name all have to have the same name but I see that your project name is DominaTClientCommunicator with DominaClientCommunicator.ino

I guess you renamed the project at some point but we need to correct this issue before you can use any Visual Micro features.

What is the name of the folder the sketch is in? Based on your answer I will tell you the cleanest and easiest way to solve the issue.

Thanks
Back to top
« Last Edit: Apr 28th, 2015 at 10:12pm by Visual Micro »  
WWW  
IP Logged
 
DaDoo
Newbies
*
Offline



Posts: 6
Re: Unable to start program
Reply #10 - Apr 28th, 2015 at 10:16pm
 
I can't belive it! I did not notice the damn "T"...
Sorry for this post but I did't see that.
With correct names now works.
Sorry again and thanx
D.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10339
United Kingdom
Re: Unable to start program
Reply #11 - Apr 28th, 2015 at 10:19pm
 
Great thanks for letting me know
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print