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 Multi .ino files, message point to incorrect line (Read 3461 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Multi .ino files, message point to incorrect line
Apr 2nd, 2014 at 7:52pm
Print Post  
Hi Tim,

following your recommendation, I create a new post.

I use AtmelStudio 6.1 and VisualMicro 1.1401.26. The structure of the solution is:

UF_TSNOS_1.ino    main .ino file
Menus.ino             a 2nd .ino file
CommTSN.ino        the one I added today

I have a bug in CommTSN.ino, and this is the MicroBuild output:
Quote:
Compiling 'UF_TSNOS_1' for 'Mega Pro 2560V 3.3V'
Build folder: 
UF_TSNOS_1.ino:In function 'void SetVit()'
Menus.ino:4634: error: expected `;' before 'strcpy'
Error compiling

'void SetVit() is the right function in error, but it's located in CommTSN.ino , not in UF_TSNOS_1.ino.

The line after correctly state that ; is missing before strcpy, but again it tells the wrong file name.

If I double-click on the next to the last line, I am brought to Menus.ino.

I saved the solution, closed it, re opened it, but no cure.

I remember that when I added Menus.ico last week, I had similar issues, that went away by themselves  Undecided.

There is no big deal, I can easily find out where is the bug. I just wanted to give some details as to what is going on.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Multi .ino files, message point to incorrect line
Reply #1 - Apr 2nd, 2014 at 8:12pm
Print Post  
Please zip and email the sketch. Thanks
  
Back to top
IP Logged
 
Sam6
Junior Member
**
Offline


Posts: 21
Joined: Mar 22nd, 2013
Re: Multi .ino files, message point to incorrect line
Reply #2 - Apr 13th, 2014 at 5:08am
Print Post  
I had a similar problem with Atmel Studio 6.1. I'm now using 6.2 beta, And the new version of Visual micro, And no longer have that problem. The beta version seems to be very stable and reliable. With no major issues. At least none have shown up.

Sam.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint