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) Unable to build project with new version 1.1808.25 (Read 4461 times)
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Unable to build project with new version 1.1808.25
Aug 31st, 2018 at 3:07am
Print Post  
I upgraded to the 8/30/2018 version and now I can no longer build my project.  It was building fine before I upgraded.  Happy to provide whatever build output you need.  I have another computer with version 1.1806.1 (minor version 180708) and it builds just fine.  The issue I get are a bunch of ".literal.startup._GLOBAL__xxxx undefined reference to..." errors when it's linking.  Again, this same exact code builds in a previous version of vMicro.  I've attached the output from the build.
« Last Edit: Aug 31st, 2018 at 3:14am by Mark Leaming »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #1 - Aug 31st, 2018 at 6:38am
Print Post  
Thanks for the info. Can you please say which non-standard libraries you have installed and from where did you download them. For example RTC

If you want to zip your project then email it to info[at]visualmicro.com. I will delete it when testing is completed. If you email include a link to this thread

Thanks
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #2 - Aug 31st, 2018 at 3:00pm
Print Post  
RTC is the Adafruit RTClib from GitHub.  AsyncTCP and ESPAsyncWebServer is from GitHub/me-no-dev.  WiFiMesh is a fork from GitLab painlessMesh.  I've also attached the build output from the previous version of VisualMicro that does successfully build the same files.

I'll send you the files.

One item of note:  It does build in the Arduino IDE without issue.
« Last Edit: Aug 31st, 2018 at 4:26pm by Mark Leaming »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #3 - Aug 31st, 2018 at 6:26pm
Print Post  
One more piece of information.  I uninstalled vMicro and installed 1807_14 (1.1806.1) and it built fine using that version.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #4 - Aug 31st, 2018 at 8:15pm
Print Post  
Thanks, I will look into it.
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #5 - Sep 12th, 2018 at 5:51pm
Print Post  
Tim,

Any update on this issue?

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #6 - Sep 12th, 2018 at 6:15pm
Print Post  
Sorry esp always takes some time to review but I've been really busy with work that pays the bills Smiley

You can try switching off "Tools>Options>Visual Micro>Compiler>Project Folder -I" which was an addition in recent builds.

Otherwise you can uninstall visual micro in tools>extensions and updates then install a slightly earlier version.

If switching of the -I project folder include solves things then please zip and email your vxcproj so I can see what you have included in your project.

Thanks
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #7 - Sep 12th, 2018 at 6:20pm
Print Post  
No worries Tim, those pesky paying jobs get in the way of the non-paying ones.  I will try removing the -I option and let you know.  I did downgrade 10 1806.1 and it works.  I did notice that the problem only seems be a problem with AsyncServer.  I'll dig a little more and see if I see something obvious.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #8 - Sep 12th, 2018 at 6:28pm
Print Post  
There was some de-dupe of .o files in the link phase. Please see if your project has a cpp file named same as one in the async library
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #9 - Sep 13th, 2018 at 2:05am
Print Post  
I do not have a .cpp file with the same name.  Also removing the -I did not help.  One other thing of note, I updated to 15.8.4 of Visual Studio and now I can't build/upload anything to the ESP32 with vMicro.  Even with a downgraded vMicro.  A project will build and upload but it won't start.  I can build it with Arduino IDE.   

This program won't even work:

void setup() {
     Serial.begin(115200);
     Serial.println("Setup complete");
}

void loop() {
  Serial.println("On");
  delay(1000);                        
  Serial.println("Off");
  delay(1000);                        
}
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #10 - Sep 13th, 2018 at 10:59am
Print Post  
A visual studio upgrade would not normally affect things.

Please post the full build output, ensure that vmicro>compiler>show build properties is enabled + verbose. Also ensure that you click Build>Clean prior to build/upload and switch the -I back on so you are using the defaults.

Make sure debug is off for this test.

Thanks
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #11 - Sep 13th, 2018 at 1:49pm
Print Post  
Here are the results of the test for VS 15.8.4
1. Build Clean
2. Build Release Version
3. ESP32 Boots.
4. Build Clean
5. Build Debug Version
6. ESP32 won't boot.
7. Build Clean, Build Release, ESP32 boots.

Attached is the .ino, the vcxproj, and the build output from my tests. https://www.dropbox.com/s/8btt4mpwqfw6ll7/FDSerial.zip?dl=0
  
Back to top
 
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #12 - Sep 21st, 2018 at 3:05pm
Print Post  
Tim,

An update on the Visual Studio issue where ESP32 would boot load after building in debug mode using VS 15.8.4; Microsoft released 15.8.5 and I updated and am now able to successfully build in debug mode.

Any update on the issue that I'm having with 1.1808.25?  I've had to downgrade my machine to 1.806.12 in order to build with the AsyncWebServer libraries.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #13 - Oct 20th, 2018 at 5:14pm
Print Post  
Did 1810.4 resolve the issue?
  
Back to top
WWW  
IP Logged
 
Mark Leaming
Junior Member
**
Offline


Posts: 18
Joined: Aug 31st, 2018
Re: Unable to build project with new version 1.1808.25
Reply #14 - Oct 20th, 2018 at 5:36pm
Print Post  
Tim,

Yes it did. I said that in my intellisense post, but neglected it here.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to build project with new version 1.1808.25
Reply #15 - Oct 20th, 2018 at 5:54pm
Print Post  
Great thanks. I get list with what is related to what  Smiley
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint