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 Error: Create Process: No such file or directory (Read 2455 times)
FossyTom
Newbies
*
Offline


Posts: 4
Joined: Aug 23rd, 2023
Error: Create Process: No such file or directory
Aug 23rd, 2023 at 4:31pm
Print Post  
Since adding the RF24 libraries, I've been getting the error xtensa-esp32-elf-g++*: error: CreateProcess: No such file or directory
If I remove the includes from the project again, the project is compiled without errors again. I have also created a new project and only added the RF24 library. This compiles with no errors. That's why I think it has nothing to do with the library. With the Arduino2 environment I can also compile the project without problems.
Can someone help me to solve the problem?
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error: Create Process: No such file or directory
Reply #1 - Aug 23rd, 2023 at 4:42pm
Print Post  
Does it build in release mode?
  
Back to top
IP Logged
 
FossyTom
Newbies
*
Offline


Posts: 4
Joined: Aug 23rd, 2023
Re: Error: Create Process: No such file or directory
Reply #2 - Aug 23rd, 2023 at 6:03pm
Print Post  
No, it was compiled under debug. I've now compiled it under release and it works without errors.
Great, thanks for your help. But I don't understand why that is?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error: Create Process: No such file or directory
Reply #3 - Aug 23rd, 2023 at 6:09pm
Print Post  
Thanks. If you add a loal board.txt with this setting in it can you then compile in debug mode without error?

vm.settings.shorten-include-paths=true
  
Back to top
IP Logged
 
FossyTom
Newbies
*
Offline


Posts: 4
Joined: Aug 23rd, 2023
Re: Error: Create Process: No such file or directory
Reply #4 - Aug 23rd, 2023 at 6:39pm
Print Post  
Yes, it works.
What is it that you have to use the shorten-include-path?
Thank you for your quick help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error: Create Process: No such file or directory
Reply #5 - Aug 23rd, 2023 at 10:49pm
Print Post  
Updated...

Arduino2 is just below the windows 32k limit for a process. PlatformIO doesn't use the arduino build system.

Enabling soft debug adds a number of defines to the command line which is already massive for esp32. + the visual micro temp build folder is longer than the one the arduino ide uses. We will shorten it and also enable relative paths when the command is going to blow the 32k limit. 

Because the esp32 command line is so close to the windows limit I expect espressif will change things in due course.

« Last Edit: Aug 23rd, 2023 at 10:49pm by Tim@Visual Micro »  
Back to top
IP Logged
 
FossyTom
Newbies
*
Offline


Posts: 4
Joined: Aug 23rd, 2023
Re: Error: Create Process: No such file or directory
Reply #6 - Aug 24th, 2023 at 6:14pm
Print Post  
OK, I understand that. thanks for your detailed explanation
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error: Create Process: No such file or directory
Reply #7 - Aug 27th, 2023 at 9:51pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint