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
Hot Topic (More than 8 Replies) Won't compile with version 1601.11.3 (Read 6572 times)
arduinoUser2
Junior Member
**
Offline


Posts: 41
Joined: Dec 30th, 2015
Won't compile with version 1601.11.3
Jan 16th, 2016 at 1:50am
Print Post  
I just upgraded Visual Micro from version 1601.4.0 to version 1601.11.3.  Code which compiled beforehand will not compile now.

I cannot make heads nor tails of the messages in the Output window for Micro Build.  They are:

Compiling debug version of 'Temp_RH_WiFi_Arduino' for 'Arduino/Genuino Uno'
Temp_RH_WiFi_Arduino.cpp.o:In function `setup
Temp_RH_WiFi_Arduino.ino:begin(long)
Temp_RH_WiFi_Arduino.ino:listen()
Temp_RH_WiFi_Arduino.cpp.o:In function `__static_initialization_and_destruction_0
Temp_RH_WiFi_Arduino.ino:SoftwareSerial(unsigned char, unsigned char, bool)
Temp_RH_WiFi_Arduino.ino:~SoftwareSerial()
ESP8266_Functions.cpp.o:In function `ESP8266CmdResponse(char const*, int, int, SoftwareSerial&)
ESP8266_Functions.cpp:listen()
collect2.exe*:error: ld returned 1 exit status
Error creating .elf

Is there something I should be doing differently in version 1601.11.3?

Thanks.
« Last Edit: Jan 16th, 2016 at 1:50am by arduinoUser2 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Won't compile with version 1601.11.3
Reply #1 - Jan 16th, 2016 at 1:55am
Print Post  
Hi,

There are a few minor changes which are listed in the release notes.

You should first try to click Build>Clean solution to you get a clean compile.

A new menu item "Visual Micro>Deep Search Includes" can be un-ticked to switch off new auto lib-in-lib discovery.

If you still have a problem the switch on "VisualMicro>Verbose" and email or post the output (info[at]visualmicro.com)

Useful to know which board name you have selected, which arduino ide version and which version of the esp8266 core you have installed

Finally make sure the toolbar is set to "Release" not "Debug/Local windows debugger". That way you get a clean compile without other complexities.
« Last Edit: Jan 16th, 2016 at 1:56am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
arduinoUser2
Junior Member
**
Offline


Posts: 41
Joined: Dec 30th, 2015
Re: Won't compile with version 1601.11.3
Reply #2 - Jan 16th, 2016 at 2:07am
Print Post  
Tim,

Thanks for the quick reply.

I did uncheck "Visual Micro>Deep Search Includes" and my code compiled.

Given that "Visual Micro>Deep Search Includes" was checked it must be a useful tool.  I will go read the release notes.

Thanks for your time.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Won't compile with version 1601.11.3
Reply #3 - Jan 16th, 2016 at 2:16am
Print Post  
It would be useful to see your project. Its a new feature bit should work. It might be your esp8266 core is out of date. They are responsible for providing the instruction that visual micro runs during deep search.
  
Back to top
WWW  
IP Logged
 
arduinoUser2
Junior Member
**
Offline


Posts: 41
Joined: Dec 30th, 2015
Re: Won't compile with version 1601.11.3
Reply #4 - Jan 16th, 2016 at 2:50am
Print Post  
Tim,

I'm happy to share my project.  Let me know if you would like to see all the source files, more, less or something else.  I will upload them in the morning.  Time here is now 0251Z.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Won't compile with version 1601.11.3
Reply #5 - Jan 16th, 2016 at 2:49pm
Print Post  
We must be on the same time zone Smiley
  
Back to top
WWW  
IP Logged
 
arduinoUser2
Junior Member
**
Offline


Posts: 41
Joined: Dec 30th, 2015
Re: Won't compile with version 1601.11.3
Reply #6 - Jan 16th, 2016 at 3:38pm
Print Post  
Oi! You were very considerate in your response to my time statement.  I was clearly tired last night, now realizing that it was 0251Z everywhere when I wrote that.

Yes, indeed, I am in the Earth timezone.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Won't compile with version 1601.11.3
Reply #7 - Jan 21st, 2016 at 2:22am
Print Post  
Did you resolve this or send me the files?
  
Back to top
WWW  
IP Logged
 
arduinoUser2
Junior Member
**
Offline


Posts: 41
Joined: Dec 30th, 2015
Re: Won't compile with version 1601.11.3
Reply #8 - Jan 21st, 2016 at 1:35pm
Print Post  
Resolved.

Several issues were tied up at the same time though not necessarily related.  This included the .h, "extern" issue.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Won't compile with version 1601.11.3
Reply #9 - Jan 21st, 2016 at 1:37pm
Print Post  
Great. Thanks for the update
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint