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 Problem with project compilation (Read 1523 times)
Dariusz
Newbies
*
Offline


Posts: 8
Joined: Jan 21st, 2018
Problem with project compilation
Aug 11th, 2020 at 12:02am
Print Post  
Hi,
after update Arduino to version 1.8,13 (and reinstalling Python) I cannot compile project using Visual Micro, it is working fine using Arduino IDE, but when I tried compile any project using Visual Micro I always get following error message:
Compiling debug version of 'ESP32_test' for 'ESP32 Dev Module'
   Traceback (most recent call last)
  build_recipe.py", line 560, in <module>
  build_recipe.py", line 93, in main
   os.chdir(os.path.join(PATHS[build], sketch))
 
WindowsError*: [Error 2] The system cannot find the file specified: \\sketch
Error compiling libraries
Debug build failed for project 'ESP32_test'

Can anyone help me with solving this problem?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem with project compilation
Reply #1 - Aug 11th, 2020 at 10:54am
Print Post  
Thanks for the report, would it be possible to attach the full build output (with the options set as shown in the yellow box at the top of the page)?
  
Back to top
 
IP Logged
 
Dariusz
Newbies
*
Offline


Posts: 8
Joined: Jan 21st, 2018
Re: Problem with project compilation
Reply #2 - Aug 11th, 2020 at 8:35pm
Print Post  
I attachment full output data. I builded this sketch (blank sketch) with Arduino IDE with success and using VM there was an error like above post.
Thank you for help.
« Last Edit: Aug 11th, 2020 at 8:36pm by Dariusz »  

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


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem with project compilation
Reply #3 - Aug 12th, 2020 at 10:45am
Print Post  
Can you confirm the sources of the ULPTools in use in this case, as there seem to be other problems in the one I have found from https://github.com/duff2013/ulptool

Assuming yours are similar, there are a number of lines in the "esp32ulp_build_recipe.py" file in the installed UlpTools folder, which are adding "sketxh" to the build path.

If you change these to remove the sketch folder 
Code
Select All
os.path.join(PATHS['build'], 'sketch') 


to
Code
Select All
os.path.join(PATHS['build'], '') 



Does this resolve the issue?

(If this does work we will update Visual Micro to use the sketch folder as in the Arduino IDE)
« Last Edit: Aug 12th, 2020 at 11:05am by Simon@Visual Micro »  
Back to top
 
IP Logged
 
Dariusz
Newbies
*
Offline


Posts: 8
Joined: Jan 21st, 2018
Re: Problem with project compilation
Reply #4 - Aug 12th, 2020 at 11:19am
Print Post  
Can you confirm the sources of the ULPTools in use in this case, as there seem to be other problems in the one I have found from https://github.com/duff2013/ulptool
Yes, I can confirm.
Does this resolve the issue?
Thank you bro, now it is working. Although, I cannot compile program using Arduino IDE, but I use it very rarely, so for me this solve my problem. But if there is any possibility to make change in VM to provide compability with this ULPTOOL by VM and Arduino IDE both, it will be very nice and helpful.
However, thank you very much for help.
Have a nice day.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with project compilation
Reply #5 - Aug 12th, 2020 at 7:23pm
Print Post  
Yes we will be making some changes over the next few months which will resolve alonside Arduino IDE.
  
Back to top
WWW  
IP Logged
 
Dariusz
Newbies
*
Offline


Posts: 8
Joined: Jan 21st, 2018
Re: Problem with project compilation
Reply #6 - Aug 13th, 2020 at 10:00pm
Print Post  
Thank you so much for help!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint