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 2 [3]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Compiling debug (SOLVED) (Read 32602 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #40 - Sep 12th, 2016 at 5:02pm
Print Post  
Thanks for the update.

Actually it should be simple to understand the problem because it boils down to one line that can be run from a batch files and work outside of visual micro.

Code
Select All
"E:\Arduino\hardware\tools\avr\bin\avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=106011 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"E:\Arduino\hardware\arduino\avr\cores\arduino" -I"E:\Arduino\hardware\arduino\avr\variants\standard" -I"E:\Visual Studio Community 2015\Common7\IDE\Extensions\d4szloi1.tks\Micro Platforms\default\debuggers\VM_DBG" "C:\Users\DPT1500\AppData\Local\Temp\VMicroBuilds\s60\uno\s60.cpp" -o "nul"
 



Running the above command from a .bat file should produce the same error.

The command clearly includes a compiler -I path for the vm_dbg.h folder should always work without issue so I am struggling to understand why it doesn't for you.

All I can suggest is to email the following file so I can see what is in it but I don't think it will help because the #include is being found and as I said the -I is correct (because you can see it exists on disk)

C:\Users\DPT1500\AppData\Local\Temp\VMicroBuilds\s60\uno\s60.cpp

In case I forget, good luck with your move and thanks for the prompt responses.
« Last Edit: Sep 12th, 2016 at 5:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #41 - Sep 12th, 2016 at 8:21pm
Print Post  
Thanks.



Once I am settled in, I will come back to visual studio and Arduino I will continue as normal. But as I said, up until tomorrow night I am free. After that it could be until another 6 weeks until I am free. I need to find work and come over back to ireland and collect the rest of my things. 

But I want to thank you for all the help you have given so far. Hopefully this can be sorted. 

P.s I have tried to attach the file 's60.cpp', but an error came up saying the file extension not allowed.

If you really think you want the file PM me your email and I will send it Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling debug
Reply #42 - Sep 12th, 2016 at 9:45pm
Print Post  
Okay you can either zip it or email to info[at]visualmicro.com

thanks
  
Back to top
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #43 - Sep 12th, 2016 at 11:23pm
Print Post  
Attached as zip here.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
V.S.A.User
Junior Member
**
Offline


Posts: 26
Joined: Aug 29th, 2016
Re: Compiling debug
Reply #44 - Nov 1st, 2016 at 4:53pm
Print Post  
Hey, finally at my computer. Got all my stuff yesterday and came back to UK today. 

What's new with the debug?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 
Send TopicPrint